mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-13 17:00:19 +00:00
!examples/audio_rtttl: Implement example using RTTTL library
This commit fixes the audio_rtttl example (which was undocumented and previously used kernel-level functions) such that now it uses the RTTTL parsing library. Contributors can implement 'players' for different types of audio sinks. Currently, PWM is supported. BREAKING: The previous version of this example only supported a single board (Spresense) and uses public interfaces from the kernel code. Now it only uses user-space interfaces and supports any board implementing those interfaces. Users who relied on the old behaviour should submit a patch to add a new player to this application which uses the desired audio sink for the Spresense through user-space interfaces. Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
This commit is contained in:
parent
3762a64bc6
commit
b39228cd41
7 changed files with 319 additions and 388 deletions
1
include/.gitignore
vendored
1
include/.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
/netutils/cJSON.h
|
||||
/netutils/cJSON_Utils.h
|
||||
/audioutils/rtttl.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue