I followed the documentation on adding parameters by means of mergeparameters to my DSP profile .xml - this shall allow me to use volume control in the end.
For this purpose, my application includes a volume control slider, which was labeled "Volume". Indeed, mergeparameters correctly detects the volume control register:
$ mergeparameters blus_XT25TG-30_22W_4534G00_v1.xml blus_XT25TG-30_22W_4534G00_v1.params
added parameters to XML profile:
volumeControlRegister
It cannot read the attribute from the XML. I checked the file /var/lib/hifiberry/dspprogram.xml, and it was correctly copied from my input .xml, so does contain the volumeControlRegister field.
Hello,
I followed the documentation on adding parameters by means of
mergeparameters
to my DSP profile .xml - this shall allow me to use volume control in the end.For this purpose, my application includes a volume control slider, which was labeled "Volume". Indeed,
mergeparameters
correctly detects the volume control register:and adds it to the .xml correctly as well:
Then, I load this file to my DSP with
which works fine, and after
the application is correctly loaded from EEPROM and the DSP runs as expected.
Now the problem is that the volume control parameter cannot be used, as it says
Having a look at the logs for sigmatcp:
It cannot read the attribute from the XML. I checked the file
/var/lib/hifiberry/dspprogram.xml
, and it was correctly copied from my input .xml, so does contain the volumeControlRegister field.What is the problem here? Thanks in advance.