Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
CoreAudio based service provider for javax.sound.sampled.
Java C++ CSS

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
casampledsp-i386
casampledsp-java
casampledsp-test
casampledsp-x86_64
casampledsp
src
.gitignore
LICENSE.txt
NOTES.txt
README.md
casampledsp.ipr
pom.xml

README.md

README.md

CASampledSP is an implementation of the javax.sound.sampled service provider interfaces based on Apple's Core Audio library, supporting all its file formats (mp3, aac, ...). It is part of the SampledSP collection of javax.sound.sampled libraries.

Its main purpose is to decode audio files or streams to signed linear pcm.

This library comes with absolutely no support, warranty etc. you name it.

Binaries and more info can be found at its tagtraum home.

Build

You can only build this library on OS X.

To do so, you also need:

Once you have all this, you need to adjust some properties in the parent pom.xml. Or.. simply override them using -Dname=value notation. E.g. to point to your Oracle JDK JNI headers, add e.g.

-Ddarwin.headers.jni=/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/include/

to your mvn call. You might also need to change mmacosx-version-min and isysroot, if you don't have an OS X 10.6 SDK installed.

So all in all, something like the following might work for you:

mvn -Ddarwin.headers.jni=/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/include/ \
    -Dmmacosx-version-min=10.7 \
    -Disysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/ \
    clean install

Note, that the C sources in the casampledsp-x86_64 module are expected to compile on all supported architectures. In fact, the very same sources are compiled in the modules for other architectures.

Have fun,

-hendrik

http://www.tagtraum.com/casampledsp/

Something went wrong with that request. Please try again.