mirror of
https://github.com/Ryujinx/libsoundio.git
synced 2024-12-22 18:15:36 +00:00
Merge pull request #162 from tokyovigilante/master
Fix 24-bit playback for macOS
This commit is contained in:
commit
470c9ed44b
|
@ -940,6 +940,10 @@ static int set_ca_desc(enum SoundIoFormat fmt, AudioStreamBasicDescription *desc
|
|||
desc->mFormatFlags = kAudioFormatFlagIsSignedInteger;
|
||||
desc->mBitsPerChannel = 16;
|
||||
break;
|
||||
case SoundIoFormatS24LE:
|
||||
desc->mFormatFlags = kAudioFormatFlagIsSignedInteger;
|
||||
desc->mBitsPerChannel = 24;
|
||||
break;
|
||||
default:
|
||||
return SoundIoErrorIncompatibleDevice;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue