mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-16 09:26:59 +00:00
2.2.4
- Added tests (using xcode) - Added a define to enable callback-based audio I/O instead of using actual audio devices - Fixed a crash on Windows when there's no access to the microphone - Misc fixes
This commit is contained in:
@@ -321,6 +321,8 @@ DWORD WINAPI AudioInputWASAPI::StartThread(void* arg) {
|
||||
}
|
||||
|
||||
void AudioInputWASAPI::RunThread() {
|
||||
if(failed)
|
||||
return;
|
||||
SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_HIGHEST);
|
||||
|
||||
HANDLE waitArray[]={shutdownEvent, streamSwitchEvent, audioSamplesReadyEvent};
|
||||
|
||||
Reference in New Issue
Block a user