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
- Host: GitHub
- URL: https://github.com/ac000/libmozart
- Owner: ac000
- License: lgpl-3.0
- Created: 2011-01-24T15:11:06.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-06-11T01:19:08.000Z (almost 14 years ago)
- Last Synced: 2025-01-13T17:20:23.026Z (5 months ago)
- Language: C
- Homepage:
- Size: 266 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
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 likeLM=`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 likegcc -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=HEADSubmitting 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.