Audio
Principle
The Audio Foundation Library defines a low-level Audio framework for embedded devices. It allows to manage abstract audio streams without worrying about the native underlying Audio device kind.
Functional Description
The MicroEJ Application manages Audio devices using audio streams abstraction. The Audio implementation made for each VEE Port is responsible for surfacing the native Audio device specific behavior.
Dependencies
LLAUDIO_SOURCE_impl.handLLAUDIO_SINK_impl.himplementations (see LLAUDIO: Audio). In Audio 1.3.0 and lower, these files are namedLLAUDIO_RECORD_impl.handLLAUDIO_TRACK_impl.h.
Installation
Audio is an additional module. To enable it, install the Audio Foundation Library (Audio 3.0.0 and higher) or the Audio Pack module (Audio 1.3.0 and lower) in your VEE Port:
For Audio 3.0.0 and higher:
api("ej.api:audio:3.0.0")
For Audio 1.3.0 and lower:
microejPack("com.microej.pack.audio:audio-pack:1.3.1")
For Audio 3.0.0 and higher:
Not Supported
For Audio 1.3.0 and lower:
<dependency org="com.microej.pack.audio" name="audio-pack" rev="1.3.1"/>
Use
See Audio API chapter in the Application Developer Guide.
