mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-06 13:29:59 -05:00
Introduce bswap.h for portable definitions of byte swap macros.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
25e6b5b473
commit
e0d52fdd8a
18 changed files with 56 additions and 17 deletions
|
|
@ -125,7 +125,7 @@ static void mix_select_callbacks(snd_pcm_direct_t *dmix)
|
|||
(1ULL << SND_PCM_FORMAT_S24_LE) | (1ULL << SND_PCM_FORMAT_S24_3LE) | \
|
||||
(1ULL << SND_PCM_FORMAT_U8))
|
||||
|
||||
#include <byteswap.h>
|
||||
#include "bswap.h"
|
||||
|
||||
static void generic_mix_areas_16_native(unsigned int size,
|
||||
volatile signed short *dst,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue