| The Following 12 Users Say Thank You to thomasjfox For This Useful Post: | ||
|
|
06-18-2012
, 01:05 AM
|
|
Posts: 1,625 |
Thanked: 6,164 times |
Joined on May 2010
|
#2
|
|
|
08-18-2012
, 03:11 AM
|
|
Posts: 96 |
Thanked: 307 times |
Joined on Jul 2010
|
#3
|
| The Following User Says Thank You to thomasjfox For This Useful Post: | ||
|
|
08-18-2012
, 09:58 AM
|
|
|
Posts: 444 |
Thanked: 224 times |
Joined on Aug 2010
@ MLB.AU
|
#4
|
![]() |
| Thread Tools | Search this Thread |
|
here's the long awaited libplayback "documentation"
libplayback offers the following features:
- Audio output when silent mode is active
- Notifications that we should stop playing (f.e. incoming call)
- Override of privacy mode / silent mode for our own audio stream if the playback class is set to "PB_CLASS_CALL".
- Simultaneous mute/unmute of all mics (seen on dbus: TV out, headset, headmike, microphone)
After hours and hours of hacking around libplayback,
I finally managed to get it working properly without any hacks
or modifications to /etc/pulse/xpolicy.conf.
This is the related bug:
https://bugs.maemo.org/show_bug.cgi?id=6694
Would be nice if someone could add it to the wiki here (without the .txt extension):
http://wiki.maemo.org/Documentation/...in#libplayback
I hope I documented all important features. It was pretty tricky
to find out what "req_mute" exactly does or how the privacy mode override
affects the audio stream only for certain audio classes...
Cheers,
Thomas
Last edited by thomasjfox; 08-18-2012 at 03:09 AM. Reason: Updated example code with state hint callback