[Alsaplayer-devel] libalsaplayer in LiVES
salsaman
salsaman at xs4all.nl
Sat Oct 1 15:25:47 BST 2005
Hi,
I am Salsaman, main developer of the quite popular video editor/VJ tool
LiVES (http://lives.sf.net).
I need to make an internal audio player for the program, and having
investigated various solutions, I found that libalsaplayer suits the
needs of the project almost perfectly.
However, I can't get even a simple test program to work:
test.c:
#include <stdio.h>
#include <alsaplayer/control.h>
int main (void) {
ap_add_path (0, "/usr/local/music/foo.wav");
ap_play (0);
return 0;
}
then gcc -lalsaplayer -o test; ./test
it compiles, but nothing is played.
I have installed libalsaplayer 0.99.76
The wav file in question can be played with alsaplayer 0.99.76 without
problems.
Any help with getting libalsaplayer working would be greatly appreciated.
Also for my purposes I will need to be able to play raw pcm encoded
files (without wav header). Is this possible using libalsaplayer ?
Regards,
Salsaman.
More information about the alsaplayer-devel
mailing list