Amp+ and libao



I have a raspberry pi model A (rev 2) running the latest jessie OS with the Amp+ and have followed the setup instructions on this site to configure it as the default audio device. Aplay -l indicates that the amp is indeed the default (and only) audio device, and I can successfully play wav files through the amp using aplay.  However, I have written an mp3 player in C using libmpg123 and libao but when calling the libao function "ao_default_driver_id()" it returns a negative number, which according to the libao documentation means that there is no audio hardware available.


I'm stumped - any help would be appreciated!


Many thanks,


1 comment

Please sign in to leave a comment.