Skip to content
Snippets Groups Projects
Verified Commit d3dee262 authored by Ole Binder's avatar Ole Binder
Browse files

Fix: swap capture and playback #64

parent 66091200
No related branches found
No related tags found
1 merge request!8Feat jack support
Pipeline #7354 passed
......@@ -240,10 +240,10 @@ This dumps details on every connected audio device. Grab the `port.alias` of you
```bash
# Audio Device Settings
AURA_ENGINE_OUTPUT_DEVICE=Yamaha AG06MK2:capture
AURA_ENGINE_OUTPUT_DEVICE=Yamaha AG06MK2:playback
AURA_ENGINE_OUTPUT_CHANNEL_LEFT=AUX0
AURA_ENGINE_OUTPUT_CHANNEL_RIGHT=AUX1
AURA_ENGINE_INPUT_DEVICE=Yamaha AG06MK2:playback
AURA_ENGINE_INPUT_DEVICE=Yamaha AG06MK2:capture
AURA_ENGINE_INPUT_CHANNEL_LEFT=AUX0
AURA_ENGINE_INPUT_CHANNEL_RIGHT=AUX1
```
......
......@@ -178,7 +178,7 @@ local audio_output_channel_right = os.getenv("AURA_ENGINE_OUTPUT_CHANNEL_RIGHT")
-- print(string.format("%s_*", audio_source_input))
auto_connect_ports {
output = Constraint { "port.alias", "matches", audio_source_output .. "_*" },
output = Constraint { "port.alias", "matches", audio_source_input .. "_*" },
input = Constraint { "port.alias", "matches", "in_line_0:*" },
connect = {
[audio_input_channel_left] = "in_0",
......@@ -187,7 +187,7 @@ auto_connect_ports {
}
auto_connect_ports {
output = Constraint { "port.alias", "matches", "lineout_0:*" },
input = Constraint { "port.alias", "matches", audio_source_input .. "_*" },
input = Constraint { "port.alias", "matches", audio_source_output .. "_*" },
connect = {
["out_0"] = audio_output_channel_left,
["out_1"] = audio_output_channel_right
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment