Commit 8b94c5b5 authored by Kimmo Myllyvirta's avatar Kimmo Myllyvirta Committed by Alexandre Julliard

xaudio2: Add support for float formats with more than 2 channels.

parent 20a11fd6
......@@ -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;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment