Skip to content
Snippets Groups Projects
Commit 03f87d80 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Fix previous commit

parent 40d39fa1
No related branches found
No related tags found
No related merge requests found
......@@ -834,7 +834,7 @@ static void ALSAFill( aout_instance_t * p_aout )
}
else
{
/* Here the device should be either in the RUNNING state.
/* Here the device should be in RUNNING state.
* p_status is valid. */
#if 0
......@@ -887,7 +887,7 @@ static void ALSAFill( aout_instance_t * p_aout )
/* Device does not supprot resuming, restart it */
i_snd_rc = snd_pcm_prepare( p_sys->p_snd_pcm );
if( i_snd_rc < 0 )
if( i_snd_rc == 0 )
i_snd_rc = snd_pcm_writei( p_sys->p_snd_pcm,
p_buffer->p_buffer,
p_buffer->i_nb_samples );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment