Fix surround sound audio playing back silence

This commit is contained in:
Cameron Gutman
2019-08-29 21:07:10 -07:00
parent 42c97eafaa
commit 42b7fd35ce
2 changed files with 4 additions and 2 deletions

View File

@@ -481,7 +481,7 @@ static NSMutableSet* hostList;
// Probe for supported channel configurations
Log(LOG_I, @"Audio devices supports %d channels", [AVAudioSession sharedInstance].maximumOutputNumberOfChannels);
Log(LOG_I, @"Audio device supports %d channels", [AVAudioSession sharedInstance].maximumOutputNumberOfChannels);
if ([AVAudioSession sharedInstance].maximumOutputNumberOfChannels >= 6) {
_streamConfig.audioChannelCount = 6;
_streamConfig.audioChannelMask = 0xFC;