[vlc-commits] wasapi: fix TRUEHD output rate
Thomas Guillem
git at videolan.org
Tue Jan 24 09:37:06 CET 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jan 18 08:50:58 2017 +0100| [4c68f3873fd88cc9095541a67fb3aaaa31c8ff1c] | committer: Thomas Guillem
wasapi: fix TRUEHD output rate
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4c68f3873fd88cc9095541a67fb3aaaa31c8ff1c
---
modules/audio_output/wasapi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/audio_output/wasapi.c b/modules/audio_output/wasapi.c
index ad938fe..e4803b2 100644
--- a/modules/audio_output/wasapi.c
+++ b/modules/audio_output/wasapi.c
@@ -282,6 +282,7 @@ static void vlc_HdmiToWave(WAVEFORMATEXTENSIBLE_IEC61937 *restrict wf_iec61937,
wf->SubFormat = _KSDATAFORMAT_SUBTYPE_IEC61937_DOLBY_MLP;
wf->Format.nChannels = 8;
wf->dwChannelMask = KSAUDIO_SPEAKER_7POINT1;
+ audio->i_rate = 768000;
break;
default:
vlc_assert_unreachable();
More information about the vlc-commits
mailing list