Introduction
CASampledSP is a free implementation of the javax.sound.sampled.spi interfaces. It is part of the SampledSP collection of javax.sound.sampled
libraries.
Its main purpose is to decode audio from various formats at high speed. Examples for supported formats are MP3 or AAC. That said, CASampledSP more or less supports all formats also supported by Apple's Core Audio.
Getting Started
The easiest way to use CASampledSP (other than simply using the jar) is to start a Maven project and introduce a CASampledSP dependency.
To do so, add something like this to the dependencies section of your pom:
<dependency> <groupId>com.tagtraum</groupId> <artifactId>casampledsp-complete</artifactId> <version>0.9.32</version> </dependency>
To use the library, simply use the javax.sound.sampled
classes like you normally would.
Requirements
CASampledSP requires OS X 10.7 or later and an Intel or ARM processor. Only 64 bit are supported.
Alternatives
For a cross platform service provider implementation featuring free formats like FLAC and OGG, take a look at FFSampledSP.
For a 32/64 bit service provider implementation for Windows 7 or later, based on Microsoft's Media Foundation, check out MFSampledSP.