[vlc-devel] [PATCH 12/13] aout: handle VLC_CODEC_DTSHD

Thomas Guillem thomas at gllm.fr
Tue Dec 19 12:38:43 CET 2017


DTSHD is still not handled in pulseaudo so do as before: setup DTS core.
---
 modules/audio_output/pulse.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c
index 1a36a7b647..18c7260033 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -745,6 +745,7 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
             encoding = PA_ENCODING_MPEG_IEC61937;
             break;*/
         case VLC_CODEC_DTS:
+        case VLC_CODEC_DTSHD:
             fmt->i_format = VLC_CODEC_SPDIFL;
             fmt->i_bytes_per_frame = 4;
             fmt->i_frame_length = 1;
-- 
2.11.0



More information about the vlc-devel mailing list