Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | | * | in volume-warning, show the dialog before setting the high-volume prop | charles kerr | 2015-12-28 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | That way warning's 'active' property will be true by the time Service gets around to deciding whether or not to show an info dialog. | |||||
| | | * | in volume-warning, better use of pa_operations. | charles kerr | 2015-12-28 | 1 | -49/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | No need to keep the pa_operation pointers around for cancel() cleanup in volume-warning's pulse dtor -- they are automatically destroyed when closing the context via context -> pdispatch -> unref callbacks. | |||||
| | | * | get server caps once per notification server, not once per notification | charles kerr | 2015-12-28 | 1 | -1/+1 | |
| | | | | ||||||
| | | * | remove unneeded idle timer from volume-warning | charles kerr | 2015-12-28 | 1 | -22/+0 | |
| | | | | ||||||
| | | * | remove earlier unneeded tracers | charles kerr | 2015-12-28 | 3 | -13/+4 | |
| | | | | ||||||
| | | * | add testing tracers | charles kerr | 2015-12-28 | 1 | -16/+7 | |
| | | | | ||||||
| | | * | when deciding to show volume warning, check for PA INVALID volume | charles kerr | 2015-12-28 | 1 | -3/+5 | |
| | | | | ||||||
| | | * | fix tyop | charles kerr | 2015-12-28 | 1 | -1/+1 | |
| | | | | ||||||
| | | * | fix volume-warning timing issue | charles kerr | 2015-12-28 | 1 | -3/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | before showing the warning dialog, cache the active sink input index because it might change while the dialog is visible (eg the video player pausing playback). | |||||
| | | * | fix pa_cvolume_set call | charles kerr | 2015-12-28 | 1 | -12/+7 | |
| | | | | ||||||
| | | * | in volume-warning, use multimedia through direct pulse instead of dbus | charles kerr | 2015-12-28 | 1 | -132/+54 | |
| | | | | ||||||
| | | * | update volume-warning's 'multimedia-volume' property from pulse | charles kerr | 2015-12-28 | 1 | -2/+10 | |
| | | | | ||||||
| | | * | in volume-warning, use pulse directly rather than through dbus | charles kerr | 2015-12-28 | 3 | -35/+189 | |
| | | | | ||||||
| | | * | make notification calls async | charles kerr | 2015-12-21 | 3 | -9/+15 | |
| | | | | ||||||
| | | * | call show() in an idle func to avoid callback cycles | charles kerr | 2015-12-21 | 1 | -2/+27 | |
| | | | | ||||||
| | | * | reduce the volume while the warning dialog is active | charles kerr | 2015-12-21 | 1 | -38/+3 | |
| | | | | ||||||
| | | * | add tracer GLib.message() calls | charles kerr | 2015-12-21 | 1 | -5/+18 | |
| | | | | ||||||
| | | * | fix property binding warning | charles kerr | 2015-12-21 | 1 | -5/+10 | |
| | | | | ||||||
| | | * | add tracer GLib.message() calls | charles kerr | 2015-12-21 | 2 | -3/+4 | |
| | | | | ||||||
| | | * | unconfuse Vala's C generator making the PulesAudio.Volume property uint32 | charles kerr | 2015-12-21 | 1 | -12/+32 | |
| | | | | ||||||
| | | * | remove unused code from volume-warning | charles kerr | 2015-12-20 | 1 | -3/+0 | |
| | | | | ||||||
| | | * | remove code duplication between volume-warning and volume-control-pulse | charles kerr | 2015-12-20 | 2 | -309/+36 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | let volume-warning's 'multimedia_active' and 'headphones_active' be bound to volume-control's 'active-stream' and 'active-output' properties. Service manages the bindings. This lets us remove all the pacontext code from volume-warning. | |||||
| | | * | always keep volume-control's 'stream' property updated | charles kerr | 2015-12-20 | 4 | -23/+29 | |
| | | | | ||||||
| | | * | group volume-warning's protected properties together | charles kerr | 2015-12-20 | 1 | -43/+46 | |
| | | | | ||||||
| | | * | replace volume-warning's 'volume' property with 'multimedia-volume' | charles kerr | 2015-12-20 | 1 | -210/+135 | |
| | | | | ||||||
| | | * | make more of volume-control-pulse's pulse functions 'public static' | charles kerr | 2015-12-20 | 1 | -7/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This time it's stream_restore_get_object_path(), again for use by volume-warning | |||||
| | | * | replace volume-warning's 'stream' property with a more focused ↵ | charles kerr | 2015-12-20 | 1 | -56/+44 | |
| | | | | | | | | | | | | | | | | 'multimedia-active' property | |||||
| | | * | in volume-warning, group the pulse methods closer together | charles kerr | 2015-12-20 | 1 | -50/+50 | |
| | | | | ||||||
| | | * | refactor 'stop_reconnect_timer' into its own function in volume-warning | charles kerr | 2015-12-20 | 1 | -6/+11 | |
| | | | | ||||||
| | | * | fix tyop | charles kerr | 2015-12-20 | 1 | -2/+2 | |
| | | | | ||||||
| | | * | start making volume-control-pulse's pulse functions public static for reuse. | charles kerr | 2015-12-20 | 2 | -110/+41 | |
| | | | | | | | | | | | | | | | | | | | | | | | | calculate_active_output() and create_pulse_dbus_connection() are now 'public static' so volume-warning can use them too. | |||||
| | | * | remove _active_port_headphone field from volume-control-pulse | charles kerr | 2015-12-20 | 1 | -3/+0 | |
| | | | | ||||||
| | | * | change volume-warning to subclass from object instead of volume-control | charles kerr | 2015-12-20 | 3 | -35/+84 | |
| | | | | | | | | | | | | | | | | | | | | Now we're starting to get somewhere... | |||||
| | | * | remove mic-volume property from volume-warning | charles kerr | 2015-12-20 | 2 | -108/+10 | |
| | | | | ||||||
| | | * | move warning dialog from service to volume-warning | charles kerr | 2015-12-20 | 4 | -126/+273 | |
| | | | | ||||||
| | | * | set options.max_volume's default value to 1.0 | charles kerr | 2015-12-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | this fixes the notifications-tests unit tests. | |||||
| | | * | remove 'high_volume' property from volume-control | charles kerr | 2015-12-19 | 6 | -68/+19 | |
| | | | | ||||||
| | | * | add WarnNotification to volume-warning | charles kerr | 2015-12-19 | 2 | -0/+12 | |
| | | | | | | | | | | | | | | | | | | | | Not actually /used/ yet, but it compiles & tests still pass... | |||||
| | | * | remove set_warning_volume() from volume-control | charles kerr | 2015-12-19 | 4 | -11/+2 | |
| | | | | ||||||
| | | * | remove 'ready' property from volume-warning | charles kerr | 2015-12-19 | 4 | -13/+9 | |
| | | | | ||||||
| | | * | remove 'is-playing' property from volume-warning | charles kerr | 2015-12-19 | 4 | -41/+12 | |
| | | | | ||||||
| | | * | move service.waiting_user_approve_warn into warning-volume | charles kerr | 2015-12-19 | 2 | -9/+10 | |
| | | | | ||||||
| | | * | remove high-volume-approved from volume-control | charles kerr | 2015-12-19 | 4 | -83/+11 | |
| | | | | ||||||
| | | * | remove ignore_high_volume from volume-control | charles kerr | 2015-12-19 | 4 | -23/+2 | |
| | | | | ||||||
| | | * | bugfix: don't requery notificaton server capabilities each time volume changes | charles kerr | 2015-12-19 | 1 | -4/+6 | |
| | | | | ||||||
| | | * | bugfix: ensure integration tests work regardless of com.ubuntu.sound ↵ | charles kerr | 2015-12-19 | 3 | -3/+24 | |
| | | | | | | | | | | | | | | | | gsettings' values | |||||
| | | * | instantiate volume-warning and pass it to the service | charles kerr | 2015-12-19 | 4 | -15/+45 | |
| | | | | ||||||
| | | * | move loudness warning's enabled & decibels from volume-control-pulse to options | charles kerr | 2015-12-19 | 7 | -60/+175 | |
| | | | | ||||||
| | | * | move max_volume into a reusable 'options' class | charles kerr | 2015-12-19 | 10 | -86/+95 | |
| | | | | ||||||
| | | * | get the build working again | charles kerr | 2015-12-19 | 1 | -2/+9 | |
| | | | |