mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
Removed __KERNEL__ includes
This commit is contained in:
parent
7893ea238d
commit
306a6d206d
1 changed files with 0 additions and 12 deletions
|
|
@ -19,24 +19,12 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __KERNEL__
|
|
||||||
#include <sound/driver.h>
|
|
||||||
#include <sound/pcm.h>
|
|
||||||
#include <sound/pcm_plugin.h>
|
|
||||||
#define bswap_16 swab16
|
|
||||||
#define bswap_32 swab32
|
|
||||||
#define bswap_64 swab64
|
|
||||||
#define SND_PCM_FORMAT_UNKNOWN (-1)
|
|
||||||
#define snd_enum_to_int(v) (v)
|
|
||||||
#define snd_int_to_enum(v) (v)
|
|
||||||
#else
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <byteswap.h>
|
#include <byteswap.h>
|
||||||
#include "pcm_local.h"
|
#include "pcm_local.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue