OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7893ea2
)
Removed __KERNEL__ includes
author
Jaroslav Kysela
<perex@perex.cz>
Tue, 27 Mar 2001 11:16:17 +0000
(11:16 +0000)
committer
Jaroslav Kysela
<perex@perex.cz>
Tue, 27 Mar 2001 11:16:17 +0000
(11:16 +0000)
src/pcm/pcm_misc.c
patch
|
blob
|
history
diff --git
a/src/pcm/pcm_misc.c
b/src/pcm/pcm_misc.c
index
dffd681
..
5bccd72
100644
(file)
--- a/
src/pcm/pcm_misc.c
+++ b/
src/pcm/pcm_misc.c
@@
-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 <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <byteswap.h>
#include "pcm_local.h"
-#endif
/**