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:
Thomas Klausner 2016-03-03 12:16:57 +01:00 committed by Takashi Iwai
parent 25e6b5b473
commit e0d52fdd8a
18 changed files with 56 additions and 17 deletions

View file

@ -56,7 +56,7 @@ IMA compatibility project proceedings, Vol 2, Issue 2, May 1992.
come across a good description of XA yet.
*/
#include <byteswap.h>
#include "bswap.h"
#include "pcm_local.h"
#include "pcm_plugin.h"

View file

@ -26,7 +26,7 @@
*
*/
#include <byteswap.h>
#include "bswap.h"
#include "pcm_local.h"
#include "pcm_plugin.h"

View file

@ -26,7 +26,7 @@
*
*/
#include <byteswap.h>
#include "bswap.h"
#include "pcm_local.h"
#include "pcm_plugin.h"

View file

@ -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,

View file

@ -26,7 +26,7 @@
*
*/
#include <byteswap.h>
#include "bswap.h"
#include <ctype.h>
#include <string.h>
#include "pcm_local.h"

View file

@ -26,7 +26,7 @@
*
*/
#include <byteswap.h>
#include "bswap.h"
#include "pcm_local.h"
#include "pcm_plugin.h"

View file

@ -26,7 +26,7 @@
*
*/
#include <byteswap.h>
#include "bswap.h"
#include "pcm_local.h"
#include "pcm_plugin.h"

View file

@ -26,7 +26,7 @@
*
*/
#include <byteswap.h>
#include "bswap.h"
#include "pcm_local.h"
#include "pcm_plugin.h"

View file

@ -27,7 +27,7 @@
*/
#include <byteswap.h>
#include "bswap.h"
#include <time.h>
#include <pthread.h>
#include <dlfcn.h>

View file

@ -23,7 +23,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <byteswap.h>
#include "bswap.h"
#include "pcm_local.h"

View file

@ -26,7 +26,7 @@
*
*/
#include <byteswap.h>
#include "bswap.h"
#include "pcm_local.h"
#include "pcm_plugin.h"

View file

@ -26,7 +26,7 @@
*
*/
#include <byteswap.h>
#include "bswap.h"
#include <limits.h>
#include "pcm_local.h"
#include "pcm_plugin.h"

View file

@ -28,7 +28,7 @@
*
*/
#include <inttypes.h>
#include <byteswap.h>
#include "bswap.h"
#include "pcm_local.h"
#include "pcm_plugin.h"
#include "pcm_rate.h"

View file

@ -21,7 +21,7 @@
*/
#include <inttypes.h>
#include <byteswap.h>
#include "bswap.h"
#include "pcm_local.h"
#include "pcm_plugin.h"
#include "pcm_rate.h"

View file

@ -26,7 +26,7 @@
*
*/
#include <byteswap.h>
#include "bswap.h"
#include <math.h>
#include "pcm_local.h"
#include "pcm_plugin.h"

View file

@ -26,7 +26,7 @@
*
*/
#include <byteswap.h>
#include "bswap.h"
#include <math.h>
#include "pcm_local.h"
#include "pcm_plugin.h"