https://bugs.freedesktop.org/show_bug.cgi?id=49961
Bug #: 49961
Summary: Feature Request: "callback when connection is
interrupted"
Classification: Unclassified
Product: PulseAudio
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: enhancement
Priority: medium
Component: clients
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
CC: [email protected]
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.
_______________________________________________
pulseaudio-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs