Now connect your audio device(s) with engine-core. There are two ways to achieve this:
Now connect your audio device(s) with engine-core. There are two ways to achieve this:
- use a UI like [qpwgraph](https://gitlab.freedesktop.org/rncbc/qpwgraph), simply draw connections between the desired devices
- use a UI like [qpwgraph](https://gitlab.freedesktop.org/rncbc/qpwgraph), simply draw connections between the desired devices
...
@@ -190,7 +192,50 @@ And start it with
...
@@ -190,7 +192,50 @@ And start it with
docker compose up
docker compose up
```
```
Connect your audio device(s) with engine-core as mentioned above. Voilá, you should hear some music!
Connect your audio device(s) with engine-core as mentioned [above](###Connect-Audio-Device). If you want engine-core to automatically connect your device every time you start it, you can also pass a device via the `.env` file to engine-core. For this you need the device alias and the channel names of your device. To get these run
```bash
docker compose run engine-core wpexec /etc/wireplumber/scripts/ls-ports.lua
```
This dumps details on every connected audio device. Grab the `port.alias` of your device and enter it in the `.env`. Press `CTRL + C` to exit the script.