The Following 14 Users Say Thank You to thomasjfox For This Useful Post: | ||
|
2012-06-18
, 05:05
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#2
|
|
2012-08-18
, 07:11
|
Posts: 99 |
Thanked: 325 times |
Joined on Jul 2010
|
#3
|
Tags |
libplayback, maemo 5 |
Thread Tools | |
|
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; 2012-08-18 at 07:09. Reason: Updated example code with state hint callback