An open API service indexing awesome lists of open source software.

https://github.com/ac000/libmozart

Library for creating audio players
https://github.com/ac000/libmozart

Last synced: 3 months ago
JSON representation

Library for creating audio players

Awesome Lists containing this project

README

        

Use
---

libmozart is a library for the handling of playlists and playback of audio.

To test this library during development, create a couple of symlinks

$ ln -s libmozart.so.0.0.0 libmozart.so.0
$ ln -s libmozart.so.0.0.0 libmozart.so

Then to run your program against it.

$ LD_LIBRARY_PATH=/path/to/library ./program [arguments]

You can compile/link against the library without installing it by adding
something like

LM=`echo -I/path/to/libmozart -L/path/to/libmozart -lmozart`

to the top of your apps Makefile and then adding a ${LM} to your compile
statement like

gcc -O2 -Wall sap.c -o sap $(LM) $(INCS) $(LIBS)

e.g

LIBS=`pkg-config --libs gstreamer-0.10`
INCS=`pkg-config --cflags gstreamer-0.10`
LM=`echo -I/path/to/libmozart -L/path/to/libmozart -lmozart`

sap: sap.c
gcc -O2 -Wall sap.c -o sap $(LM) $(INCS) $(LIBS)

Environment variables
---------------------

LIBMOZART_DEBUG Setting this to an integer 1-7, will cause various
debugging information to be displayed.

Currently only 1 & 7 will do anything.

Hacking
-------

Coding style - This essentially follows the Linux Kernel coding style. See
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/CodingStyle;hb=HEAD

Submitting patches - Patches should be created with git format-patch -M and be
signed-off. Loosely following the Linux Kernel's procedures. See section 12
(well, the whole thing is worth a read) here http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/SubmittingPatches;hb=HEAD

*** NOTE ***
The interface should be considered UNSTABLE and subject to change.