]> git.alsa-project.org Git - alsa-utils.git/commit
aplay: Fix wav file not being split on 32 bit platforms
authorerwin <nebelbank@posteo.de>
Tue, 13 Mar 2018 18:51:24 +0000 (19:51 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Mar 2018 21:07:08 +0000 (22:07 +0100)
commit588b3aa0ef5e0fc3c9056302ac3e5679a7a1dfe8
tree978bcb19eabafa87dc12b037ca5adf6458f7b0ca
parent9bc49645720ad1deefbb3d152430634b811e94df
aplay: Fix wav file not being split on 32 bit platforms

On my 32 bit armhf board arecord exits because of write() returning EFBIG
when the output file size reaches 2147483647 bytes.

To fix this, include generated header file before system header files
so that _FILE_OFFSET_BITS=64 is used properly, as required in documentation
"man feature_test_macros".

Signed-off-by: Takashi Iwai <tiwai@suse.de>
aplay/aplay.c