Commit 72385008 authored by François Grisez's avatar François Grisez

Fix desactivation of voice processing with msiounit (Apple)

parent 59262a95
......@@ -202,7 +202,7 @@ static void create_io_unit (AudioUnit* au, MSSndCard* sndcard) {
AudioComponentDescription au_description;
AudioComponent foundComponent;
bool_t noVoiceProc = (*au && strcasecmp(sndcard->name, AU_CARD_NOVOICEPROC) == 0);
bool_t noVoiceProc = (strcasecmp(sndcard->name, AU_CARD_NOVOICEPROC) == 0);
OSType subtype = noVoiceProc ? kAudioUnitSubType_RemoteIO : kAudioUnitSubType_VoiceProcessingIO;
au_description.componentType = kAudioUnitType_Output;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment