[vlc-commits] audiotrack: rename hdmi to encoded

Thomas Guillem git at videolan.org
Wed Mar 8 15:03:17 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Mar  7 18:23:59 2017 +0100| [a68b92690637e47a79015f219a32cc6bbc38f2e8] | committer: Thomas Guillem

audiotrack: rename hdmi to encoded

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

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

diff --git a/modules/audio_output/audiotrack.c b/modules/audio_output/audiotrack.c
index 0a46c92..d3209c9 100644
--- a/modules/audio_output/audiotrack.c
+++ b/modules/audio_output/audiotrack.c
@@ -55,7 +55,7 @@ static void *AudioTrack_Thread( void * );
  * per default */
 enum at_dev {
     AT_DEV_STEREO = 0,
-    AT_DEV_HDMI,
+    AT_DEV_ENCODED,
 };
 #define AT_DEV_DEFAULT AT_DEV_STEREO
 #define AT_DEV_MAX_CHANNELS 8
@@ -66,7 +66,7 @@ static const struct {
     enum at_dev at_dev;
 } at_devs[] = {
     { "stereo", "Up to 2 channels (compat mode).", AT_DEV_STEREO },
-    { "hdmi", "Up to 8 channels, SPDIF if available.", AT_DEV_HDMI },
+    { "encoded", "Up to 8 channels, passthrough if available.", AT_DEV_ENCODED },
     {  NULL, NULL, AT_DEV_DEFAULT },
 };
 
@@ -1088,7 +1088,7 @@ Start( audio_output_t *p_aout, audio_sample_format_t *restrict p_fmt )
     bool b_try_passthrough;
     unsigned i_max_channels;
 
-    if( p_sys->at_dev == AT_DEV_HDMI )
+    if( p_sys->at_dev == AT_DEV_ENCODED )
     {
         b_try_passthrough = true;
         i_max_channels = AT_DEV_MAX_CHANNELS;



More information about the vlc-commits mailing list