mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
don't call snd_pcm_drain() when we suspend because that might take awfully long with our long buffer sizes these days
This commit is contained in:
parent
88130eb9e6
commit
530b95fec5
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue