[vlc-commits] pulse: add EAC3 support

Thomas Guillem git at videolan.org
Mon Sep 12 15:16:15 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Jul 28 13:32:56 2016 +0200| [5e08ed0c3efaa8a4a84af68ba994d76a34b53071] | committer: Thomas Guillem

pulse: add EAC3 support

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5e08ed0c3efaa8a4a84af68ba994d76a34b53071
---

 modules/audio_output/pulse.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c
index e5141e4..be7ff5f 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -719,12 +719,12 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
             encoding = PA_ENCODING_AC3_IEC61937;
             ss.format = HAVE_FPU ? PA_SAMPLE_FLOAT32NE : PA_SAMPLE_S16NE;
             break;
-        /*case VLC_CODEC_EAC3:
-            fmt->i_format = VLC_CODEC_SPDIFL FIXME;
+        case VLC_CODEC_EAC3:
+            fmt->i_format = VLC_CODEC_SPDIFL;
             encoding = PA_ENCODING_EAC3_IEC61937;
             ss.format = HAVE_FPU ? PA_SAMPLE_FLOAT32NE : PA_SAMPLE_S16NE;
             break;
-        case VLC_CODEC_MPGA:
+        /* case VLC_CODEC_MPGA:
             fmt->i_format = VLC_CODEC_SPDIFL FIXME;
             encoding = PA_ENCODING_MPEG_IEC61937;
             ss.format = HAVE_FPU ? PA_SAMPLE_FLOAT32NE : PA_SAMPLE_S16NE;



More information about the vlc-commits mailing list