m-si-audio-adapter: add 'disable.dsp' configuration property
If 'disable.dsp' is set to TRUE, the adapter will always be configured in passthrough mode. Then, if 2 adapters want to be linked with different formats, the si-standard-link session item will automatically reconfigure one of the adapters in convert mode so that the format matches.
This commit is contained in:
@@ -17,6 +17,7 @@ function addItem (node, item_type)
|
||||
if not items[id]:configure {
|
||||
["node"] = node,
|
||||
["enable.monitor"] = true,
|
||||
["disable.dsp"] = false,
|
||||
["item.plugged.usec"] = GLib.get_monotonic_time(),
|
||||
} then
|
||||
Log.warning(items[id], "failed to configure item for node " .. tostring(id))
|
||||
|
Reference in New Issue
Block a user