1. 4A (AGL Audio Advanced Architecture)
Kickstart with AGL/FF
English presentation Oct. 18
Loïc Collignon – Embedded Engineer
loic.collignon@iot.bzh
2. Oct 17, 2018 2
IoT.bzh
IoT.bzh team
●
Mostly dedicated to AGL
●
https://iot.bzh/en/
●
http://github.com/iotbzh
Workshop in Lorient
LORIENT
vannes
3. Oct 17, 2018 3
4A Kickstart
Loïc Collignon
High Level API
Jonathan Aillet
HALs
Thierry Bultel
SoftMixer
4. Oct 17, 2018 4
4A Kickstart
●
I have this OGG file, how do I play it?
5. Oct 17, 2018 5
4A Kickstart
●
I have this OGG file, how do I play it?
– Use alsa, Gstreamer, etc., 4A doesn’t play any
audio! It handles permissions, signals and policies.
6. Oct 17, 2018 6
4A Kickstart
●
Why do we need this extra layer of complexity?
7. Oct 17, 2018 7
4A Kickstart
●
Why do we need this extra layer of complexity?
– Because a car is not a home Hi-Fi system:
●
Multiple concurrent audio sources (i.e.
navigation+multimedia)
●
Features required by law (i.e. emergency notifications,
turn indicators sound, ...)
●
Ambiant noise (i.e. speed correlated noise)
8. Oct 17, 2018 8
4A Kickstart
●
Applications still have to use audio libraries
(i.e. Gstreamer)
●
Applications also have to use 4a
HARDWARE
APPLICATIONS
Audio lib 4a
9. Oct 17, 2018 9
4A Kickstart
1) Open the audio-role
you want
2) Use the returned
device to play audio
3) Close the audio-role
when finished