pcm hdspe: Remove unused variable.
This commit is contained in:
parent
92e7c96648
commit
11fd7ec044
@ -263,7 +263,6 @@ buffer_copy(struct sc_chinfo *ch)
|
||||
struct sc_info *sc;
|
||||
int ssize, dsize;
|
||||
int src, dst;
|
||||
int length;
|
||||
int n;
|
||||
int i;
|
||||
|
||||
@ -272,9 +271,6 @@ buffer_copy(struct sc_chinfo *ch)
|
||||
|
||||
n = AFMT_CHANNEL(ch->format); /* n channels */
|
||||
|
||||
length = sndbuf_getready(ch->buffer) /
|
||||
(4 /* Bytes per sample. */ * n);
|
||||
|
||||
if (ch->dir == PCMDIR_PLAY) {
|
||||
src = sndbuf_getreadyptr(ch->buffer);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user