pulseaudio/src/modules/alsa
Arun Raghavan 7a7072557a sink, source: Rework reconfiguration logic to apply to more than rate
This rejigs the update_rate() logic to encompass changes to the sample
spec as a whole, as well as passthrough status. As a result,
sinks/sources provide a reconfigure() method which allows
reconfiguration as required.

The behaviour itself is currently unchanged -- alsa-sink/-source do not
actually implement anything other than rate updates for now (nor are
they ever requested to). This can be modified in the future, to allow,
for example 24-bit output when incoming media supports it, as well as
channel count changes for passthrough sinks.

Another related change is that passthrough status is now part of
sink/source reconfiguration, and we can stop doing a suspend/unsuspend
when entering/leaving passthrough state. So that part is now divided
in two -- pa_sink_reconfigure() sets the sink in passthrough mode if
required, and pa_sink_enter_passthrough() sets up everything else
(this currently means only volumes, but could disable other processing)
for passthrough mode.
2017-10-21 21:23:37 +05:30
..
mixer Revert "alsa-mixer: fix speaker output on a couple of Asus EeePC machines" 2017-10-12 17:00:13 +03:00
alsa-mixer.c alsa-mixer: add mixer handling to the fallback stereo case 2017-09-18 18:49:34 +03:00
alsa-mixer.h alsa-mixer: Fill in input and output names 2015-11-22 04:59:21 +02:00
alsa-sink.c sink, source: Rework reconfiguration logic to apply to more than rate 2017-10-21 21:23:37 +05:30
alsa-sink.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
alsa-source.c sink, source: Rework reconfiguration logic to apply to more than rate 2017-10-21 21:23:37 +05:30
alsa-source.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
alsa-ucm.c alsa: Use pa_device_port->impl_free() for freeing port data 2016-06-22 21:04:47 +05:30
alsa-ucm.h alsa: Use pa_device_port->impl_free() for freeing port data 2016-06-22 21:04:47 +05:30
alsa-util.c alsa-util: don't crash on devices with more than 32 channels 2017-01-31 15:59:14 +02:00
alsa-util.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-alsa-card.c alsa: Check pa_modargs_get_value_boolean() retval for use_ucm 2016-08-15 23:53:32 +02:00
module-alsa-sink.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-alsa-source.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00