[pulseaudio-discuss] [PATCH v2 0/6] Add module dynarray for hooks

David Henningsson david.henningsson at canonical.com
Fri Mar 27 03:20:10 PDT 2015


v2: pa_module_hook_connect is no longer an inline function.
    Convert some more modules to the new API.

David Henningsson (6):
  module: Add hook dynarray
  module-*-restore: use pa_module_hook_connect
  module-suspend-on-idle: use pa_module_hook_connect
  module-alsa-card: use pa_module_hook_connect
  module-filter-*: use pa_module_hook_connect
  module-switch-*: use pa_module_hook_connect

 src/modules/alsa/module-alsa-card.c           | 26 ++------
 src/modules/module-card-restore.c             | 29 ++-------
 src/modules/module-device-restore.c           | 43 +++----------
 src/modules/module-filter-apply.c             | 52 +++-------------
 src/modules/module-filter-heuristics.c        | 22 ++-----
 src/modules/module-stream-restore.c           | 40 +++---------
 src/modules/module-suspend-on-idle.c          | 89 +++++----------------------
 src/modules/module-switch-on-connect.c        | 12 +---
 src/modules/module-switch-on-port-available.c | 44 +++----------
 src/pulsecore/module.c                        | 16 +++++
 src/pulsecore/module.h                        |  4 ++
 11 files changed, 88 insertions(+), 289 deletions(-)

-- 
1.9.1



More information about the pulseaudio-discuss mailing list