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:
86db3b4
)
Added debug code
author
Jaroslav Kysela
<perex@perex.cz>
Sat, 24 Nov 2001 11:32:42 +0000
(11:32 +0000)
committer
Jaroslav Kysela
<perex@perex.cz>
Sat, 24 Nov 2001 11:32:42 +0000
(11:32 +0000)
src/pcm/pcm_hw.c
patch
|
blob
|
history
diff --git
a/src/pcm/pcm_hw.c
b/src/pcm/pcm_hw.c
index
023b6c1
..
522e55a
100644
(file)
--- a/
src/pcm/pcm_hw.c
+++ b/
src/pcm/pcm_hw.c
@@
-253,6
+253,10
@@
static int snd_pcm_hw_start(snd_pcm_t *pcm)
#endif
if (ioctl(fd, SNDRV_PCM_IOCTL_START) < 0) {
SYSERR("SNDRV_PCM_IOCTL_START failed");
+#if 0
+ if (errno == EBADFD)
+ SNDERR("PCM state = %s", snd_pcm_state_name(snd_pcm_hw_state(pcm)));
+#endif
return -errno;
}
return 0;