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

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


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jul 19 11:50:07 2017 +0200| [96599d470f3da8df165b20fa5ce763aa484b4bd8] | committer: Thomas Guillem

aout: oss: force bitmap channel type

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

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

diff --git a/modules/audio_output/oss.c b/modules/audio_output/oss.c
index d3e2a6f640..52a648fc86 100644
--- a/modules/audio_output/oss.c
+++ b/modules/audio_output/oss.c
@@ -215,6 +215,7 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
         fmt->i_rate = rate;
         fmt->i_physical_channels = channels;
     }
+    fmt->channel_type = AUDIO_CHANNEL_TYPE_BITMAP;
     aout_FormatPrepare (fmt);
 
     /* Select timing */



More information about the vlc-commits mailing list