diff options
| author | Mark Brown <broonie@kernel.org> | 2025-08-12 16:30:11 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-08-12 16:30:11 +0100 |
| commit | e896f262b3bd721b35263e4ee8f876f35a569369 (patch) | |
| tree | 850f9899b3806275d8002005f91dde6cdd2f554e /rust/helpers | |
| parent | 3a9c44f9532f2297a3a795165ce8ee9d0b2762c0 (diff) | |
| parent | 595b7f155b926460a00776cc581e4dcd01220006 (diff) | |
ASoC: Intel: avs: Conditional path support
Merge series from Cezary Rojewski <cezary.rojewski@intel.com>:
The code presented here is a lighter version of what was initially
discussed in 2021 [1]. Later, we've had a more general discussion [2]
"what if the feature was part of the ASoC core instead?". The discussion
turned towards leaving a simplified version within the avs/, so here is
the final outcome.
What's removed when compared to the older [1] version?
- conditional path priorities
- conditional path overriding
The background:
Conditional path (condpath) helps facilitate modern audio usecases such
as Echo Cancellations and Noise Reduction. These are not invoked by the
means of userspace application opening an endpoint (FrontEnd) but are a
"side effect" of selected PCMs running simultaneously e.g.: if both
Speaker (source) and Microphone Array (sink) are running, reference
data from the Speaker and take it into account when processing capture
for better voice command detection ratio.
Which PCMs are needed for given conditional path to be spawned is
determinated by the driver when registering the condpath.
Two patches implement the feature:
1) update the topology parser to acknowledge the new tuples
2) update the path-creation and functions that participate in the
PCM-runtime e.g.: run/pause.
The runtime update is needed to keep streaming sane - all the path
operations shall be synchronized when a condpath is being spawned or its
status is about to change.
[1]: https://lore.kernel.org/alsa-devel/20211208111301.1817725-21-cezary.rojewski@intel.com/
[2]: https://lore.kernel.org/linux-sound/20240821101816.1494541-1-cezary.rojewski@intel.com/
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions
