[pulseaudio-tickets] [Bug 39797] module-cork-music-on-phone unable to send CORK event to pulsesink for PA_STREAM_START_CORKED streams

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 23 23:45:38 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=39797

--- Comment #13 from Himanshu Chug <himanshu.chug at gmail.com> 2011-08-23 23:45:38 PDT ---
(In reply to comment #9)
> Yeah the cork event is never sent as module-cork-music-on-phone notices that
> the stream is already corked and thus it doesn't do any more. 

Just one clarification:

we are able to mute the "music" stream that means that the below code get
executed and "if" condition is satisfied and this also means that CORK request
is sent from the module using pa_sink_input_send_event(j,
PA_STREAM_EVENT_REQUEST_CORK, NULL) function below?  but then I guess CORK
request is getting dropped somewhere else outside the module ?

apply_cork()
{

....
..
        if (cork && !corked) {
            pa_hashmap_put(u->cork_state, j, PA_INT_TO_PTR(1));
            pa_sink_input_set_mute(j, TRUE, FALSE);
            pa_sink_input_send_event(j, PA_STREAM_EVENT_REQUEST_CORK, NULL);
        }

..
}

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the pulseaudio-bugs mailing list