Classes for playing audio data.
(Oboe) iolib contains classes implementing streaming audio playback and mixing from multiple sources. It's purpose is to demonstrate best practices and provide reusable code.
Note: the more general name of "iolib" was chosen since it is presumed that this project will eventually implement audio capture capability.
iolib is written in C++ and is intended to be called from Android native code. It is implemented as a static library.
Declares the basic interface for audio data sources.
Extends the DataSource
interface for audio data coming from SampleBuffer objects.
Extends SampleSource
to provide data that plays through it's SampleBuffer
and then provides silence, (i.e. a non-looping sample)
Loads and holds (in memory) audio sample data and provides read-only access to that data.
Implements an Oboe audio stream into which it mixes audio from some number of SampleSource
s.
This class demonstrates:
ManagedStream
)AudioStreamCallback
interface.