projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88130eb
)
don't call snd_pcm_drain() when we suspend because that might take awfully long with...
author
Lennart Poettering
<lennart@poettering.net>
Fri, 3 Oct 2008 23:07:08 +0000
(
01:07
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 3 Oct 2008 23:07:08 +0000
(
01:07
+0200)
src/modules/module-alsa-sink.c
patch
|
blob
|
history
diff --git
a/src/modules/module-alsa-sink.c
b/src/modules/module-alsa-sink.c
index
8f90774
..
be463bb
100644
(file)
--- a/
src/modules/module-alsa-sink.c
+++ b/
src/modules/module-alsa-sink.c
@@
-539,8
+539,8
@@
static int suspend(struct userdata *u) {
pa_smoother_pause(u->smoother, pa_rtclock_usec());
- /* Let's suspend
*/
- snd_pcm_drain(u->pcm_handle);
+ /* Let's suspend
-- we don't call snd_pcm_drain() here since that might
+ * take awfully long with our long buffer sizes today. */
snd_pcm_close(u->pcm_handle);
u->pcm_handle = NULL;