mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:35:42 +01:00
fixed capture of wav on big-endian.
This commit is contained in:
parent
bd2c771ca9
commit
ea1fec7d84
1 changed files with 1 additions and 1 deletions
|
@ -1493,7 +1493,7 @@ static void begin_wave(int fd, size_t cnt)
|
|||
cf.type = WAV_FMT;
|
||||
cf.length = LE_INT(16);
|
||||
|
||||
f.format = LE_INT(WAV_PCM_CODE);
|
||||
f.format = LE_SHORT(WAV_PCM_CODE);
|
||||
f.modus = LE_SHORT(hwparams.channels);
|
||||
f.sample_fq = LE_INT(hwparams.rate);
|
||||
#if 0
|
||||
|
|
Loading…
Reference in a new issue