mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 12:06:31 +01:00
- Fix typos in endian condition check
(XXX_ENDIAN -> SND_XXX_ENDIAN)
This commit is contained in:
parent
2a0c823b25
commit
c8e5bf9d40
1 changed files with 2 additions and 2 deletions
|
@ -529,7 +529,7 @@ static int test_wavefile(void *buffer)
|
|||
}
|
||||
if (LE_SHORT(wp->modus) < 1 || LE_SHORT(wp->modus) > 32) {
|
||||
fprintf(stderr, "%s: can't play WAVE-files with %d tracks\n",
|
||||
command, wp->modus);
|
||||
command, LE_SHORT(wp->modus));
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
format.voices = LE_SHORT(wp->modus);
|
||||
|
@ -542,7 +542,7 @@ static int test_wavefile(void *buffer)
|
|||
break;
|
||||
default:
|
||||
fprintf(stderr, "%s: can't play WAVE-files with sample %d bits wide\n",
|
||||
command, wp->bit_p_spl);
|
||||
command, LE_SHORT(wp->bit_p_spl));
|
||||
}
|
||||
format.rate = LE_INT(wp->sample_fq);
|
||||
count = LE_INT(wp->data_length);
|
||||
|
|
Loading…
Reference in a new issue