12-29-2019, 02:30 PM
(12-27-2019, 02:13 AM)Tim Curtis Wrote: Have a look at the source code.
https://github.com/moode-player/moode
Hi Tim,
Thanks for answering! I did take a look but I realy don't know what to look for.
Am I right when I think the source-select option in moOde works with enabeling/disabeling alsaloop on demand?
I tried searching the source code for "alsaloop" but didn't get much wiser. I'm realy no guru when it come to linux
So may I ask you to point me into the right direction so I can hack away at it?
Second question:
When I use the Source Select option from within the UI, I do indeed hear the audio fed to the jack through the output device.
However I notice a lot of crackle / popping and after a while, sound output just stops. I then have to switch through the source select again to MPD ==> click set, then switch back to Analog ==> click set, to get the sound back.
After some googleing I suspect this to be related to buffer underrun / overrun.
So I tried fiddeling with alsaloop directly through SSH.
sudo alsaloop -v -t 50000
This gets rid of a lot of crackle/ popping but after a while alsaloop stops and displays "bus error".
I suspect I get the bus error too when using the source select from the moOde UI.
Thanks a lot for getting back to me.