[PATCH] optimize set_state_in_io_thread() callbacks

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

 



On Tue, 2018-03-20 at 16:26 +0300, Raman Shyshniou wrote:
> Source and sink are passed in arguments to set_state_in_io_thread()
> callbacks. There is optimal to access them directly.
> ---
>  src/modules/alsa/alsa-sink.c                 |  6 +++---
>  src/modules/alsa/alsa-source.c               |  6 +++---
>  src/modules/bluetooth/module-bluez4-device.c |  8 ++++----
>  src/modules/bluetooth/module-bluez5-device.c |  8 ++++----
>  src/modules/echo-cancel/module-echo-cancel.c |  2 +-
>  src/modules/module-equalizer-sink.c          |  2 +-
>  src/modules/module-esound-sink.c             |  4 ++--
>  src/modules/module-ladspa-sink.c             |  2 +-
>  src/modules/module-null-sink.c               |  2 +-
>  src/modules/module-pipe-sink.c               |  4 ++--
>  src/modules/module-remap-sink.c              |  2 +-
>  src/modules/module-solaris.c                 | 16 ++++++++--------
>  src/modules/module-virtual-sink.c            |  2 +-
>  src/modules/module-virtual-surround-sink.c   |  2 +-
>  src/modules/oss/module-oss.c                 | 12 ++++++------
>  src/modules/raop/raop-sink.c                 |  4 ++--
>  16 files changed, 41 insertions(+), 41 deletions(-)

Thanks! Applied to the "next" branch.

-- 
Tanu

https://liberapay.com/tanuk
https://www.patreon.com/tanuk


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

  Powered by Linux