I have added sound to my Yun following these instructions: http://dev.mikamai.com/post/69775973742/arduino-yun-with-sound-the-supereasy-way.
So I did:
opkg update opkg install kmod-sound-core opkg install kmod-usb-audio opkg install madplay
However, during playback, I get repeated clicking sounds. This has been tested with a DAC with the same chipset as suggested in the article, as well as with others: always the same result.
I have tried the solution suggested here: http://forum.arduino.cc/index.php?topic=214968.msg1651246#msg1651246; and added the asound.conf file (chmodded it to 644 as well) That does not solve the issue.
Also, when using alsa directly (aplayer), I get the same results with wav files of different sample rates stored on the sd-card.
Anyone have any idea what might be causing this?
To me everything seems to point to the USB-interface dropping packets, but I do not know how to be sure of this or how to solve it... or am I missing something?