[vlc-commits] aout: jack: force bitmap channel type

Thomas Guillem git at videolan.org
Wed Jul 19 18:59:02 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jul 19 11:49:45 2017 +0200| [d5621e301efe95d1518b34597a921b8fb13e1270] | committer: Thomas Guillem

aout: jack: force bitmap channel type

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

 modules/audio_output/jack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/audio_output/jack.c b/modules/audio_output/jack.c
index cfecabe47f..ed36cff9d4 100644
--- a/modules/audio_output/jack.c
+++ b/modules/audio_output/jack.c
@@ -262,6 +262,7 @@ static int Start( audio_output_t *p_aout, audio_sample_format_t *restrict fmt )
 
     msg_Dbg( p_aout, "JACK audio output initialized (%d channels, rate=%d)",
              p_sys->i_channels, fmt->i_rate );
+    fmt->channel_type = AUDIO_CHANNEL_TYPE_BITMAP;
 
 error_out:
     /* Clean up, if an error occurred */



More information about the vlc-commits mailing list