mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
solaris: When suspending, flush the device instead of draining it.
Patch by Brian Cameron <brian.cameron@oracle.com>.
This commit is contained in:
parent
e530feb62c
commit
c3207d4080
1 changed files with 1 additions and 1 deletions
|
|
@ -351,7 +351,7 @@ static int suspend(struct userdata *u) {
|
|||
|
||||
pa_log_info("Suspending...");
|
||||
|
||||
ioctl(u->fd, AUDIO_DRAIN, NULL);
|
||||
ioctl(u->fd, I_FLUSH, FLUSHRW);
|
||||
pa_close(u->fd);
|
||||
u->fd = -1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue