Audio file streaming interface. More...
Content | |
Audio Driver API Functions | |
Audio Driver API functions. | |
Audio Driver API Defines | |
Audio Driver API Definitions. | |
Data Structures | |
struct | AudioDrv_Status_t |
Audio Status. More... | |
Audio file streaming interface.
Audio streaming use case is implemented for Arm FVPs based on the general-purpose Virtual Streaming Interface (VSI).
The use of common audio driver API simplifies re-targeting of the application code between virtual and physical devices. Currently audio driver implementations and examples are available for the following platforms:
and support for other hardware platforms can be added following the same concept.
Micro Speech Example project demonstrates use of this audio driver in both the AVH test environment and on the physical evaluation boards.
The table below references the files that implement the audio peripheral:
Item | Description |
---|---|
./interface/audio/include/audio_drv.h | Audio Driver API header file. Used by implementations on Arm Virtual Hardware and real HW boards. |
./interface/audio/driver/audio_drv.c | Audio driver implementation for Arm Virtual Hardware based on VSI |
./interface/audio/python/arm_vsi0.py | Audio via VSI Python script for audio input interface based on VSI Python interface |
./interface/audio/python/arm_vsi1.py | Audio via VSI Python script for audio output interface based on VSI Python interface |
Audio driver for NXP IMXRT1050-EVKB board | Audio driver implementation for NXP IMXRT1050-EVKB. See AVH-TFLmicrospeech GitHub repo |
Audio driver for NXP MIMXRT1064-EVK board | Audio driver implementation for NXP MIMXRT1064-EVK. See AVH-TFLmicrospeech GitHub repo |