mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-11-02 09:01:48 -05:00
Fixed big-endian support
This commit is contained in:
parent
3343a6b188
commit
365af335eb
2 changed files with 10 additions and 8 deletions
|
|
@ -154,7 +154,7 @@ output_spdif(uint8_t *data_start, uint8_t *data_end, int quiet)
|
|||
done_banner = 1;
|
||||
}
|
||||
|
||||
#ifndef WORDS_BIGENDIAN
|
||||
#ifndef _a_b_c_d_e_f /* WORDS_BIGENDIAN */
|
||||
// extract_ac3 seems to write swabbed data
|
||||
swab(&buf[10], &buf[10], syncinfo.frame_size * 2 - 2);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue