Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: CamillaDSP - MPD unable to play flat.yml
#8
@gingerbeer

Quote:I noticed that when I change the device under the MPD settings GUI, then I would need to change-and-change-back the file in the CamillaDSP GUI, so that it would get the right hardware output device.
Yes that is normal after changing device the camilladsp config needs to be updated. WIth version 7.2 the general handling of output devicesis improved and doesn't require that step anymore.

I think that maybe the cause is in message below:
Code:
Apr 20 00:57:11.737 ERRO Playback error: ALSA function 'snd_pcm_hw_params_set_channels' failed with error 'EINVAL: Invalid argument', module: camilladsp
Which suggest that the set number of channels isn't correct (prob 2 in this case).
Alsacap shows indeed that this device only supports 8 channels:
Code:
8 channels, sampling rate 44100..192000 Hz

And not like the HDMI which acccept 1 to 8 channels:
Code:
 1..8 channels, sampling rate 8000..192000 Hz

Lets see what happens if we force CamillaDSP to use 8 channel output:
Because the regular setup of moOde with camilladsp covers only 2 channel devices, we need to disable the Default Device patch:
  • At the moOde camilladsp config scree toggle the Default Device option to OFF.
Create a new config to expriment with:
  • At the moOde camilladsp config screen select the flat config from the Pipeline configuration section
  • Press the copy button just below it and set the name to flat8ch:
Open the pipeline editor (=camillagui):
  • At the moOde camilladsp config screen go to the pipeline editor section
  • Set the Status to On
  • Set the Expert Mode to On
  • Press the open button
Within the camillagui change the playback device (bottom option at the devices tab):
  • Set the channels to 8
  • Check if the hardware device is correct
This will not be enough you need to change the mixer to map the input against the outputs:
  • In camillagui select the mixer tab
  • In the default present mixer set the number of outputs to 8
  • Map the inputs against the outputs (even if you don't need those, for example left to 4 and right to 4 channels)
  • Use the green plus at the bottom to add more output mappings.
  • When done press the Applto to CDSP (at the left side).

Try some music and let us know.
Reply


Messages In This Thread
RE: CamillaDSP - MPD unable to play flat.yml - by bitlab - 04-22-2021, 05:31 PM

Forum Jump: