projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e530feb
)
solaris: When suspending, flush the device instead of draining it.
author
Tanu Kaskinen
<tanuk@iki.fi>
Fri, 4 Jan 2013 14:57:48 +0000
(16:57 +0200)
committer
Tanu Kaskinen
<tanuk@iki.fi>
Fri, 4 Jan 2013 15:13:32 +0000
(17:13 +0200)
Patch by Brian Cameron <brian.cameron@oracle.com>.
src/modules/module-solaris.c
patch
|
blob
|
history
diff --git
a/src/modules/module-solaris.c
b/src/modules/module-solaris.c
index
eea5c0d
..
7f3342f
100644
(file)
--- a/
src/modules/module-solaris.c
+++ b/
src/modules/module-solaris.c
@@
-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;