Commit b6717257 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

mixer: simplify based on single input per output

parent d8ab9fd6
...@@ -318,6 +318,8 @@ static int aout_Restart( aout_instance_t * p_aout ) ...@@ -318,6 +318,8 @@ static int aout_Restart( aout_instance_t * p_aout )
/* Re-open the output plug-in. */ /* Re-open the output plug-in. */
aout_OutputDelete( p_aout ); aout_OutputDelete( p_aout );
/* FIXME: This function is notoriously dangerous/unsafe.
* By the way, if OutputNew or MixerNew fails, we are totally screwed. */
if ( aout_OutputNew( p_aout, &p_aout->pp_inputs[0]->input ) == -1 ) if ( aout_OutputNew( p_aout, &p_aout->pp_inputs[0]->input ) == -1 )
{ {
/* Release all locks and report the error. */ /* Release all locks and report the error. */
......
This diff is collapsed.
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