mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 18:13:38 +00:00
xaudio2: Add support for float formats with more than 2 channels.
Signed-off-by: Kimmo Myllyvirta <kimmo.myllyvirta@gmail.com> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
20a11fd6cc
commit
8b94c5b51c
|
@ -499,6 +499,14 @@ static ALenum get_al_format(const WAVEFORMATEX *fmt)
|
|||
return AL_FORMAT_MONO_FLOAT32;
|
||||
case 2:
|
||||
return AL_FORMAT_STEREO_FLOAT32;
|
||||
case 4:
|
||||
return AL_FORMAT_QUAD32;
|
||||
case 6:
|
||||
return AL_FORMAT_51CHN32;
|
||||
case 7:
|
||||
return AL_FORMAT_61CHN32;
|
||||
case 8:
|
||||
return AL_FORMAT_71CHN32;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue