On 30. 08. 23 0:57, Curtis Malainey wrote:
On Tue, Aug 29, 2023 at 12:17 PM Curtis Malainey
<cujomalainey@xxxxxxxxxx> wrote:
On Tue, Aug 29, 2023 at 8:37 AM Jaroslav Kysela <perex@xxxxxxxx> wrote:
Modifiers are an extra layer on top of devices. I don't think that we have any
default relation between the modifier PCM device and the original PCM device
(from the UCM device definition). A new value to describe this (like
"ReplacePlaybackPCM 1") may be introduced. Another issue is when multiple
modifiers with this description are active - they conflict, so it should be
described somewhere, too. Perhaps, "ConflictingModifier" array may be added to
API. But those extensions are not required for the "Echo Reference" modifier.
What is the expectation for naming and relationship to the devices? Is
the Modifier a suffix to the device name to associate it?
Verbs, devices and modifiers should be named according use-case.h:
https://www.alsa-project.org/alsa-doc/alsa-lib/group__ucm.html
The relation is defined using SupportedDevices or ConflictingDevices array.
Those arrays are available in modifiers, too.
Jaroslav
--
Jaroslav Kysela <perex@xxxxxxxx>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.