Hello
In order to properly use the Balena Audio block and actually output sound via my chosen Output i need to be able to set the following in a custom.pa script.
set-card-profile 0 output:hdmi-stereo
I found this to work by cloning the audio block and adding this as suggested in the documentation to the start cmd:
COPY custom.pa /usr/src/custom.pa
CMD [ "pulseaudio", "--file /usr/src/custom.pa" ]
My problem is now that i don’t know how to add a custom.pa file to a balena block. Currently i have cloned the audio balena block manually and added this inside that block code. This works perfectly fine but isn’t really the solution i’m looking for because it means that i need to have a local copy of the block and can therefore not profit from the advantages of a balena block.
Can someone help me with adding a custom pulse audio script to the balena audio block?
Thanks.