[Alsaplayer-devel] libalsaplayer in LiVES
Jay C.
jay at zoop.org
Sat Oct 1 15:46:33 BST 2005
Salsaman,
You do have alsaplayer running as a daemon while you use libalsaplayer,
correct?
--Jay
On Sat, 2005-10-01 at 16:25 +0200, salsaman wrote:
> 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.
>
>
> _______________________________________________
> alsaplayer-devel mailing list
> alsaplayer-devel at lists.tartarus.org
> http://lists.tartarus.org/mailman/listinfo/alsaplayer-devel
>
More information about the alsaplayer-devel
mailing list