mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
move flat volume logic into the core. while doing so add n_volume_steps field to sinks/sources
This commit is contained in:
parent
4bfa5d7d13
commit
d5f46e824e
32 changed files with 562 additions and 361 deletions
|
|
@ -55,7 +55,6 @@ typedef enum pa_core_hook {
|
|||
PA_CORE_HOOK_SINK_UNLINK_POST,
|
||||
PA_CORE_HOOK_SINK_STATE_CHANGED,
|
||||
PA_CORE_HOOK_SINK_PROPLIST_CHANGED,
|
||||
PA_CORE_HOOK_SINK_SET_VOLUME,
|
||||
PA_CORE_HOOK_SOURCE_NEW,
|
||||
PA_CORE_HOOK_SOURCE_FIXATE,
|
||||
PA_CORE_HOOK_SOURCE_PUT,
|
||||
|
|
@ -129,6 +128,7 @@ struct pa_core {
|
|||
pa_silence_cache silence_cache;
|
||||
|
||||
int exit_idle_time, scache_idle_time;
|
||||
pa_bool_t flat_volumes;
|
||||
|
||||
pa_time_event *exit_event;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue