[pulseaudio-tickets] [Bug 39797] New: [pulseaudio-bug] module-cork-music-on-phone not able to send CORK event to gst pulse-sink for PA_STREAM_START_CORKED flagged streams

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 3 04:23:58 PDT 2011


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

           Summary: [pulseaudio-bug] module-cork-music-on-phone not able
                    to send CORK event to gst pulse-sink for
                    PA_STREAM_START_CORKED flagged streams
           Product: PulseAudio
           Version: unspecified
          Platform: ARM
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: modules
        AssignedTo: pulseaudio-bugs at lists.freedesktop.org
        ReportedBy: himanshu.chug at gmail.com
         QAContact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net


Steps to reproduce:

1. load module-cork-music-on-phone

2. play music from gst-launch with media role="phone"
e.g gst-launch playbin2 uri=file:///userdata/media/phone/Disco.mp3
audio-sink="pulsesink role="music""

3. play music from gst-launch with media role="music"
gst-launch playbin2 uri=file:///userdata/media/phone/Tere.mp3
audio-sink="pulsesink role="phone""


Expected Results:

"music" stream should mute and get corked , with gst-pipeline received event to
PAUSE the "music" stream pipeline.

Actual Results:

"music" stream is getting muted but the "music" stream is also getting mixed
with "phone" stream , and gst pipeline for "music" stream is NOT getting
paused.

Since the "music" stream is getting muted , so we cannot hear the mixed stream
output, but one can easily figure out the problem by enabling gst logs and with
gst pipeline state which remains in PLAYING state.


Some extra Information:

I have tried putting logs in gst pulsesink gst_pulsering_stream_event_cb()
function, but it is not getting CORK request from pulseaudio in this particular
senario, 

Reverse Usecase i.e playing music stream first and then "phone" stream next is
working fine and I can see CORK request callback in
gst_pulsering_stream_event_cb() 

So I suspect the issue is with PA_STREAM_START_CORKED flagged streams, which
start in corked state ("music" stream in our case) and immediately were asked
again to go to CORKED state with NO effect ?

-- 
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