Commit 33b6e2a4 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Remove unused variables

parent 3d23a7a3
...@@ -761,10 +761,8 @@ static int ALSAThread( aout_instance_t * p_aout ) ...@@ -761,10 +761,8 @@ static int ALSAThread( aout_instance_t * p_aout )
static void ALSAFill( aout_instance_t * p_aout ) static void ALSAFill( aout_instance_t * p_aout )
{ {
struct aout_sys_t * p_sys = p_aout->output.p_sys; struct aout_sys_t * p_sys = p_aout->output.p_sys;
aout_buffer_t * p_buffer; aout_buffer_t * p_buffer;
snd_pcm_status_t * p_status = p_sys->p_status; snd_pcm_status_t * p_status = p_sys->p_status;
snd_timestamp_t ts_next;
int i_snd_rc; int i_snd_rc;
mtime_t next_date; mtime_t next_date;
...@@ -833,7 +831,6 @@ static void ALSAFill( aout_instance_t * p_aout ) ...@@ -833,7 +831,6 @@ static void ALSAFill( aout_instance_t * p_aout )
/* With screwed ALSA drivers the timestamp is always zero; /* With screwed ALSA drivers the timestamp is always zero;
* use another method then */ * use another method then */
snd_pcm_sframes_t delay = 0; snd_pcm_sframes_t delay = 0;
ssize_t i_bytes = 0;
snd_pcm_delay( p_sys->p_snd_pcm, &delay ); snd_pcm_delay( p_sys->p_snd_pcm, &delay );
next_date = mdate() + (mtime_t)(delay) * 1000000 / next_date = mdate() + (mtime_t)(delay) * 1000000 /
......
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