Bug 49961 - Feature Request: "callback when connection is interrupted"
Summary: Feature Request: "callback when connection is interrupted"
Status: RESOLVED FIXED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: clients (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-15 09:01 UTC by Paul Meng
Modified: 2013-01-13 22:20 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Paul Meng 2012-05-15 09:01:17 UTC
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
Comment 1 favonia 2013-01-13 22:20:09 UTC
Patch applied! The link to the discussion thread: http://lists.freedesktop.org/archives/pulseaudio-discuss/2013-January/015840.html


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.