diff options
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/dsound.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/dsound.c b/Alc/dsound.c index a05c4034..633a78ff 100644 --- a/Alc/dsound.c +++ b/Alc/dsound.c @@ -197,6 +197,8 @@ static ALCboolean DSoundOpenPlayback(ALCdevice *device, const ALCchar *deviceNam else device->Format = AL_FORMAT_71CHN16; } + device->FrameSize = aluBytesFromFormat(device->Format) * + aluChannelsFromFormat(device->Format); OutputType.wFormatTag = WAVE_FORMAT_PCM; OutputType.nChannels = aluChannelsFromFormat(device->Format); |