[PATCH 5/8] pass pa_suspend_cause_t to set_state() callbacks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19.02.2018 15:48, Tanu Kaskinen wrote:
> The suspend cause isn't yet used by any of the callbacks. The alsa sink
> and source will use it to sync the mixer when the SESSION suspend cause
> is removed. Currently the syncing is done in pa_sink/source_suspend(),
> and I want to change that, because pa_sink/source_suspend() shouldn't
> have any alsa specific code.
> ---
>   src/modules/alsa/alsa-sink.c                 |  2 +-
>   src/modules/alsa/alsa-source.c               |  2 +-
>   src/modules/echo-cancel/module-echo-cancel.c |  4 ++--
>   src/modules/macosx/module-coreaudio-device.c |  4 ++--
>   src/modules/module-combine-sink.c            |  7 ++++++-
>   src/modules/module-equalizer-sink.c          |  2 +-
>   src/modules/module-ladspa-sink.c             |  2 +-
>   src/modules/module-remap-sink.c              |  2 +-
>   src/modules/module-remap-source.c            |  2 +-
>   src/modules/module-tunnel.c                  | 14 ++++++++++++--
>   src/modules/module-virtual-sink.c            |  2 +-
>   src/modules/module-virtual-source.c          |  4 ++--
>   src/modules/module-virtual-surround-sink.c   |  2 +-
>   src/pulsecore/sink.c                         |  6 +++---
>   src/pulsecore/sink.h                         | 12 ++++++++++--
>   src/pulsecore/source.c                       |  6 +++---
>   src/pulsecore/source.h                       | 12 ++++++++++--
>   17 files changed, 58 insertions(+), 27 deletions(-)
>
LGTM



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux