mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-17 22:05:34 -05:00
sink, source: Add an avoid-processing mode
This generalises the avoid-resampling concept (don't resample for any rate above the default/alternate sample rate) to include channel count and sample format as well. The rationale for this is that users who wish to send out their data untouched by processing in PulseAudio can do so. In addition to this, there are opportunities for certain hardware (such as systems with a DSP connected to a codec) to offload processing to the DSP (providing potential cost savings). Finally, this also enables modules that might be able to perform transformations of (ANY -> sink format), and this allows us to implement such transformations.
This commit is contained in:
parent
cbaf278f1e
commit
01c26546fa
14 changed files with 121 additions and 14 deletions
|
|
@ -69,6 +69,7 @@ PA_MODULE_USAGE(
|
|||
"paths_dir=<directory containing the path configuration files> "
|
||||
"use_ucm=<load use case manager> "
|
||||
"avoid_resampling=<use stream original sample rate if possible?> "
|
||||
"avoid_processing=<use stream original sample spec if possible?> "
|
||||
"control=<name of mixer control> "
|
||||
);
|
||||
|
||||
|
|
@ -98,6 +99,7 @@ static const char* const valid_modargs[] = {
|
|||
"paths_dir",
|
||||
"use_ucm",
|
||||
"avoid_resampling",
|
||||
"avoid_processing",
|
||||
"control",
|
||||
NULL
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue