2 2
sweetpotatoe

tutorial OrangePi as iTunes server with forked-daapd

Recommended Posts

You need to create ctl.!default block in asoundrc too, since the log tells that it fails to open the mixer controls.

Also I may be wrong about referencing the card in forked-daapd, you should check its manuals too.

 

I read below link under software mixing

https://www.alsa-project.org/main/index.php/Asoundrc#dmix

 

I follow .asoundrc overthere and aplay running with default device

 

unfortunately forked-daapd has very limited reference for the card

Share this post


Link to post
Share on other sites

Please try

card = "default"

in forked-daapd

 

/var/log/forked-daapd.log

----------------------------------------

[2017-01-16 12:28:51] [  LOG]   laudio: Failed to open configured mixer element 'I2s Or Pcm Audio Mode Select format'
[2017-01-16 12:28:51] [  LOG]   laudio: Could not open mixer
[2017-01-16 12:28:51] [  LOG]   player: Could not start ALSA device 'BPi-M2P'
[2017-01-16 12:28:51] [  LOG]   player: Could not activate ALSA device 'BPi-M2P'
 
FYI, sound output is OK by testing "aplay -f cd -D default test.wav"

Share this post


Link to post
Share on other sites

I have no idea too. Please try to experiment, maybe comment out this line, use something like "default" or "dmix".

 

try mixer = "dmix" or mixer = "default", not working

forked-daapd has very poor documentation regarding sound output setting

now to find correct setting, it's like trying to find needle in the desert :( 

Share this post


Link to post
Share on other sites

I think the developer (E.Jurgensen) might be willing to help. So I would suggest to ask him directly in this thread:

https://www.raspberrypi.org/forums/viewtopic.php?t=49928

 

I know this is a Raspberry-Pi Forum, but regarding sound-card configuration there should be no difference. Maybe he has an idea, or another user has a similar setup to yours. If you can solve your problem it would be nice to post the solution here as well.

 

Best wishes, Bernie_O

Share this post


Link to post
Share on other sites

I think the developer (E.Jurgensen) might be willing to help. So I would suggest to ask him directly in this thread:

https://www.raspberrypi.org/forums/viewtopic.php?t=49928

 

I know this is a Raspberry-Pi Forum, but regarding sound-card configuration there should be no difference. Maybe he has an idea, or another user has a similar setup to yours. If you can solve your problem it would be nice to post the solution here as well.

 

Best wishes, Bernie_O

 

Thanks

Will post the solution here

Share this post


Link to post
Share on other sites

Hey dony71, did you get this working?

Because forked-daapd was blocking the audio-device I also had to configure alsa with dmix. Here is a nice tutorial:

That works quite well for me.

 

Share this post


Link to post
Share on other sites
2 2