09-29-2022, 05:59 PM
@sll552 maybe a workarround:
Of course replace it by your command
If you are luckly enough it runs fast enough before camilladsp is started and opened the actual audio device.
Good luck!
Marcel
- activate camilladsp as dsp option
- you can use the flat config to make sure that it doesn't alter the audio
- test if it works
- next we will run command before the audio device is started by:
- edit the file /etc/alsa/conf.d/camilladsp.conf
- add the following option (should be above the last '}' ):
Code:
# An option not directly related to camilladsp. A command to run when
# the plugin is first created. (Meaning when a playback program opens
# the audio device.) Use it for whatever you want. Set gpio pins on a
# raspberry pi to turn on your amp for example.
start_cmd "/path/to/start_command"
Of course replace it by your command
If you are luckly enough it runs fast enough before camilladsp is started and opened the actual audio device.
Good luck!
Marcel