perf(threads): implement adjust_thread_priority for macOS and add set_thread_name (#4605)
This commit is contained in:
parent
f879294449
commit
3a12f96a86
17 changed files with 71 additions and 1 deletions
|
|
@ -91,6 +91,7 @@ namespace audio {
|
|||
}
|
||||
|
||||
// Encoding takes place on this thread
|
||||
platf::set_thread_name("audio::encode");
|
||||
platf::adjust_thread_priority(platf::thread_priority_e::high);
|
||||
|
||||
opus_t opus {opus_multistream_encoder_create(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue