diff options
Diffstat (limited to 'Alc/backends')
-rw-r--r-- | Alc/backends/coreaudio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/coreaudio.c b/Alc/backends/coreaudio.c index 69a7404a..92d862eb 100644 --- a/Alc/backends/coreaudio.c +++ b/Alc/backends/coreaudio.c @@ -300,8 +300,8 @@ static ALCboolean ca_reset_playback(ALCdevice *device) /* fall-through */ case DevFmtInt: streamFormat.mBitsPerChannel = 32; - streamFormat.mBytesPerPacket = 2 * streamFormat.mChannelsPerFrame; - streamFormat.mBytesPerFrame = 2 * streamFormat.mChannelsPerFrame; + streamFormat.mBytesPerPacket = 4 * streamFormat.mChannelsPerFrame; + streamFormat.mBytesPerFrame = 4 * streamFormat.mChannelsPerFrame; break; } streamFormat.mFormatID = kAudioFormatLinearPCM; |