projects
/
profile
/
ivi
/
pulseaudio-module-murphy-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e144675
)
unmute webkit streams when rewoking playback rights
84/17384/1
author
Jaska Uimonen
<jaska.uimonen@helsinki.fi>
Thu, 6 Mar 2014 14:27:05 +0000
(16:27 +0200)
committer
Jaska Uimonen
<jaska.uimonen@helsinki.fi>
Thu, 6 Mar 2014 14:27:05 +0000
(16:27 +0200)
Change-Id: If8717938f0be2dddd538dd51b3383cd29955d5ca
murphy/stream-state.c
patch
|
blob
|
history
diff --git
a/murphy/stream-state.c
b/murphy/stream-state.c
index
c87b78c
..
1517c39
100644
(file)
--- a/
murphy/stream-state.c
+++ b/
murphy/stream-state.c
@@
-191,9
+191,15
@@
static void sink_input_block(struct userdata *u,
if (sinp->send_event) {
if (block)
event = PA_STREAM_EVENT_REQUEST_CORK;
- else
+ else
{
event = PA_STREAM_EVENT_REQUEST_UNCORK;
-
+ /* Do this because webkit might set */
+ /* stream to mute. This hack might */
+ /* cause issues if web app user has */
+ /* set explicit mute. */
+ pa_sink_input_set_mute(sinp, false, false);
+ }
+
pl = pa_proplist_new();
sinp->send_event(sinp, event, pl);