i have set the output of karaoke to mono.<br>i have tested, it works fine<br><br><br>diff --git a/modules/audio_filter/karaoke.c b/modules/audio_filter/karaoke.c<br>index 81bc276..8371c40 100644<br>--- a/modules/audio_filter/karaoke.c<br>
+++ b/modules/audio_filter/karaoke.c<br>@@ -72,8 +72,24 @@ static block_t *Process (filter_t *filter, block_t *block)<br>
 <br>         *(spl++) = s;<br>         *(spl++) = s;<br>-        /* TODO: set output format to mono */<br>     }<br>+<br>+    /* set output to mono */<br>+    block_t *p_out_block = block_Alloc( block->i_buffer / 2 );<br>

+    if( p_out_block == NULL )<br>+        return NULL;<br>+    p_out_block->i_flags   = block->i_flags;<br>+    p_out_block->i_nb_samples = block->i_nb_samples;<br>+    p_out_block->i_dts     = block->i_dts;<br>

+    p_out_block->i_pts     = block->i_pts;<br>+    p_out_block->i_length  = block->i_length;<br>+    for( unsigned i = 0; i < block->i_nb_samples; i++ )<br>+    {<br>+        p_out_block->p_buffer[i] = spl[ 2 * i + 1 ];<br>

+    }<br>+    filter->fmt_out.audio.i_channels = 1;<br>+    filter->fmt_out.audio.i_physical_channels = 1;<br>+<br>     (void) filter;<br>     return block;<br> }<br><br clear="all"><br>-- <br><div>Regards<br>Sukrit Sangwan</div>


<br>