mirror of
https://github.com/Ryujinx/libsoundio.git
synced 2024-12-22 13:05:40 +00:00
Fix 24-bit playback for macOS
This commit is contained in:
parent
85103e43e4
commit
de66b3504a
|
@ -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