Merged revisions 320947 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r320947 | russell | 2011-05-26 10:57:13 -0500 (Thu, 26 May 2011) | 2 lines
  
  Remove some variables that were set but unused.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@321003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
10-digiumphones
Russell Bryant 14 years ago
parent fc8d4e823c
commit 39281ed5df

@ -383,7 +383,6 @@ static int alsa_write(struct ast_channel *chan, struct ast_frame *f)
static char sizbuf[8000];
static int sizpos = 0;
int len = sizpos;
int pos;
int res = 0;
/* size_t frames = 0; */
snd_pcm_state_t state;
@ -397,7 +396,6 @@ static int alsa_write(struct ast_channel *chan, struct ast_frame *f)
} else {
memcpy(sizbuf + sizpos, f->data.ptr, f->datalen);
len += f->datalen;
pos = 0;
state = snd_pcm_state(alsa.ocard);
if (state == SND_PCM_STATE_XRUN)
snd_pcm_prepare(alsa.ocard);

Loading…
Cancel
Save