mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Define SND_LITTLE_ENDIAN or SND_BIG_ENDIAN locally.
Fixed handling of non-linear formats now.
This commit is contained in:
parent
4e92e7a28c
commit
bdb2618f96
1 changed files with 7 additions and 0 deletions
|
|
@ -78,6 +78,13 @@ typedef struct sndrv_seq_event snd_seq_event_t;
|
|||
#include "asoundlib.h"
|
||||
#include "list.h"
|
||||
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
#define SND_LITTLE_ENDIAN
|
||||
#endif
|
||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||
#define SND_BIG_ENDIAN
|
||||
#endif
|
||||
|
||||
extern int snd_async_signo;
|
||||
|
||||
struct _snd_async_handler {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue