[pulseaudio-tickets] [Bug 49961] New: Feature Request: "callback when connection is interrupted"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 15 02:01:17 PDT 2012


             Bug #: 49961
           Summary: Feature Request: "callback when connection is
    Classification: Unclassified
           Product: PulseAudio
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: clients
        AssignedTo: pulseaudio-bugs at lists.freedesktop.org
        ReportedBy: mno2.csie at gmail.com
         QAContact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

My friends and I are working on a project to bind PulseAudio to Haskell
(https://github.com/favonia/pulse), hoping to provide a Haskell interface
without callback semantics. In order to complete this project, the support from
the PulseAudio would be very helpful. That is to add a callback to notify the
client when a connection is interrupted or canceled. With this callback, the
task such as cleaning resource would be significantly easier for us to do. We
don't have to keep a copy of context->operations in the wrapper code.

Please take this into consideration for the next API revision. We know this
would cause API modification, but this would really help us out from the
current clumsy design. Thank you.

Paul Meng

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