aout: file: force bitmap channel type
authorThomas Guillem <thomas@gllm.fr>
Wed, 19 Jul 2017 09:49:40 +0000 (11:49 +0200)
committerThomas Guillem <thomas@gllm.fr>
Wed, 19 Jul 2017 16:46:05 +0000 (18:46 +0200)
modules/audio_output/file.c

index e651dff..915907a 100644 (file)
@@ -212,6 +212,7 @@ static int Start( audio_output_t *p_aout, audio_sample_format_t *restrict fmt )
     {
         fmt->i_physical_channels = pi_channels_maps[i_channels];
     }
+    fmt->channel_type = AUDIO_CHANNEL_TYPE_BITMAP;
 
     /* WAV header */
     p_aout->sys->b_add_wav_header = var_InheritBool( p_aout, "audiofile-wav" );