Skip to content

Commit

Permalink
winegstreamer: Support WMA with 5.1 and 7.1 audio.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivyl authored and rbernon committed Feb 20, 2024
1 parent 6c1326b commit 044acf4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dlls/winegstreamer/mfplat.c
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,10 @@ static void mf_media_type_to_wg_format_audio(IMFMediaType *type, const GUID *sub
channel_mask = KSAUDIO_SPEAKER_MONO;
else if (channels == 2)
channel_mask = KSAUDIO_SPEAKER_STEREO;
else if (channels == 6)
channel_mask = KSAUDIO_SPEAKER_5POINT1;
else if (channels == 8)
channel_mask = KSAUDIO_SPEAKER_7POINT1;
else
{
FIXME("Channel mask is not set.\n");
Expand Down

0 comments on commit 044acf4

Please sign in to comment.