mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 07:59:42 +00:00
Allow coreaudio3 driver to work with audio devices that have 2 or more output channels. (#14715)
This commit is contained in:
parent
c2f50a83bf
commit
db9d3d3507
@ -204,7 +204,7 @@ static bool g_interrupted;
|
||||
return nil;
|
||||
|
||||
format = au.outputBusses[0].format;
|
||||
if (format.channelCount != 2)
|
||||
if (format.channelCount < 2)
|
||||
return nil;
|
||||
|
||||
renderFormat = [[AVAudioFormat alloc] initStandardFormatWithSampleRate:rate channels:2];
|
||||
|
Loading…
Reference in New Issue
Block a user