[PATCH 0/2] support fine grained control for avoid resampling

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

 



The previous "avoid-resampling" option of daemon.conf is applied to
the daemon globally. However, there can be an usecase that requires
the "avoid-resampling" option to each device independently.

These patches make it possible that this option can be applied only
to external devices(from module-udev-detect) or only to a specific
device(from alsa mapping of alsa profile set).

Sangchul Lee (2):
  udev-detect, alsa-card: Adopt avoid resampling option from daemon.conf
  alsa-mixer/sink/source: Apply avoid resampling option to alsa mapping

 src/modules/alsa/alsa-mixer.c       | 30 ++++++++++++++++++++++++++++--
 src/modules/alsa/alsa-mixer.h       |  1 +
 src/modules/alsa/alsa-sink.c        | 10 +++++++++-
 src/modules/alsa/alsa-source.c      | 10 +++++++++-
 src/modules/alsa/module-alsa-card.c |  2 ++
 src/modules/module-udev-detect.c    | 16 ++++++++++++++--
 src/pulsecore/sink.c                |  6 ++++--
 src/pulsecore/sink.h                |  2 ++
 src/pulsecore/source.c              |  6 ++++--
 src/pulsecore/source.h              |  2 ++
 10 files changed, 75 insertions(+), 10 deletions(-)

-- 
2.7.4



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

  Powered by Linux