aboutsummaryrefslogtreecommitdiff
path: root/src/volume-control.vala
Commit message (Collapse)AuthorAgeFilesLines
* VolumeControl: don't pass vala closures into libpulseLars Uebernickel2013-10-281-15/+29
|\ | | | | | | | | | | | | | | | | | | Libpulse's vala bindings don't specify that callbacks passed into some of its functions (e.g., get_server_info) can be called after the function returns. Vala thus frees closure data after these functions return. This can't easily be fixed in the bindings, because libpulse doesn't provide variants of these functions with destroy_notifies. This patch works around this problem by only passing non-closure functions into libpulse. Fixes: https://bugs.launchpad.net/bugs/1244386. Approved by Charles Kerr, PS Jenkins bot.
| * VolumeControl: don't pass vala closures into libpulseLars Uebernickel2013-10-261-15/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | Libpulse's vala bindings don't specify that callbacks passed into some of its functions (e.g., get_server_info) can be called after the function returns. Vala thus frees closure data after these functions return. This can't easily be fixed in the bindings, because libpulse doesn't provide variants of these functions with destroy_notifies. This patch works around this problem by only passing non-closure functions into libpulse.
* | when we fail to connect to pulse, wait a moment before retrying.Charles Kerr2013-10-231-1/+18
|/
* Reconnect when pulseaudio terminates (or crashes)Lars Uebernickel2013-09-301-25/+40
|
* Allow setting the microphone volume if an app using it is runningLars Uebernickel2013-06-181-5/+88
|
* VolumeControl: turn "ready" into a propertyLars Uebernickel2013-03-271-14/+11
| | | | | And bind it to the "enabled" properties of the volume and mute actions.
* Add VolumeControl and hook up mute and volume actions to itLars Uebernickel2013-03-271-0/+192
The VolumeControl class originated in the phablet branch of this indicator.