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:
eaeffa9
)
removed (commented out) assert in pcm_drain for avoiding the infinte
author
Takashi Iwai
<tiwai@suse.de>
Fri, 11 Jan 2002 11:12:00 +0000
(11:12 +0000)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 11 Jan 2002 11:12:00 +0000
(11:12 +0000)
loop when a program is aborted and drain is failed.
src/pcm/pcm.c
patch
|
blob
|
history
diff --git
a/src/pcm/pcm.c
b/src/pcm/pcm.c
index
22609e9
..
6849b97
100644
(file)
--- a/
src/pcm/pcm.c
+++ b/
src/pcm/pcm.c
@@
-651,8
+651,8
@@
int snd_pcm_hw_free(snd_pcm_t *pcm)
if (err < 0)
return err;
}
- assert(snd_pcm_state(pcm) == SND_PCM_STATE_SETUP ||
- snd_pcm_state(pcm) == SND_PCM_STATE_PREPARED);
+
//
assert(snd_pcm_state(pcm) == SND_PCM_STATE_SETUP ||
+
//
snd_pcm_state(pcm) == SND_PCM_STATE_PREPARED);
err = pcm->ops->hw_free(pcm->op_arg);
pcm->setup = 0;
if (err < 0)