Commit a1a45073 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix display of audio channel in various mono modes

This happened in many WMA2 mono samples where the codec information pannel said "ERROR"
parent 51af8760
...@@ -197,6 +197,8 @@ const char * aout_FormatPrintChannels( const audio_sample_format_t * p_format ) ...@@ -197,6 +197,8 @@ const char * aout_FormatPrintChannels( const audio_sample_format_t * p_format )
{ {
switch ( p_format->i_physical_channels & AOUT_CHAN_PHYSMASK ) switch ( p_format->i_physical_channels & AOUT_CHAN_PHYSMASK )
{ {
case AOUT_CHAN_LEFT:
case AOUT_CHAN_RIGHT:
case AOUT_CHAN_CENTER: case AOUT_CHAN_CENTER:
if ( (p_format->i_original_channels & AOUT_CHAN_CENTER) if ( (p_format->i_original_channels & AOUT_CHAN_CENTER)
|| (p_format->i_original_channels || (p_format->i_original_channels
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment