diff options
author | Chris Robinson <[email protected]> | 2008-01-25 16:38:37 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-01-25 16:38:37 -0800 |
commit | 5f1c0450b328f77d637690e2221a9de21d909811 (patch) | |
tree | ab1a73f46ecb814b21359995c511b53acaff751f /Alc/dsound.c | |
parent | 04b62f77e37335be68d3e8c04c2cc7a354aef18c (diff) |
Remove unnecessary Channels field
Diffstat (limited to 'Alc/dsound.c')
-rw-r--r-- | Alc/dsound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/dsound.c b/Alc/dsound.c index b5796fd9..a05c4034 100644 --- a/Alc/dsound.c +++ b/Alc/dsound.c @@ -199,7 +199,7 @@ static ALCboolean DSoundOpenPlayback(ALCdevice *device, const ALCchar *deviceNam } OutputType.wFormatTag = WAVE_FORMAT_PCM; - OutputType.nChannels = device->Channels; + OutputType.nChannels = aluChannelsFromFormat(device->Format); OutputType.wBitsPerSample = aluBytesFromFormat(device->Format) * 8; OutputType.nBlockAlign = OutputType.nChannels*OutputType.wBitsPerSample/8; OutputType.nSamplesPerSec = device->Frequency; |