mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:25:42 +01:00
axfer: remove unused variable warnings
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
7a3ca6fe6d
commit
3aea4fedf9
3 changed files with 0 additions and 3 deletions
|
@ -381,7 +381,6 @@ static int wave_parser_pre_process(struct container_context *cntr,
|
|||
*format = format_maps[i].format;
|
||||
*samples_per_frame = state->samples_per_frame;
|
||||
*frames_per_second = state->frames_per_second;
|
||||
phys_width /= 8;
|
||||
*byte_count = state->byte_count;
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -114,7 +114,6 @@ static int multiple_pre_process(struct mapper_context *mapper,
|
|||
// configured to store one sample per frame.
|
||||
if (mapper->type == MAPPER_TYPE_DEMUXER) {
|
||||
for (i = 0; i < cntr_count; ++i) {
|
||||
cntr = cntrs + i;
|
||||
if (cntrs->samples_per_frame != 1)
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
|
@ -156,7 +156,6 @@ static int list_pcms(snd_pcm_stream_t direction)
|
|||
|
||||
filter = filters[direction];
|
||||
|
||||
n = hints;
|
||||
for (n = hints; *n != NULL; ++n) {
|
||||
io = snd_device_name_get_hint(*n, "IOID");
|
||||
if (io != NULL && strcmp(io, filter) != 0) {
|
||||
|
|
Loading…
Reference in a new issue