nuttx/drivers/audio
Alan Carvalho de Assis e001138731 drivers/audio: Fix audio tone generator
The audio tone generator stopped working with the 'echo' command
since https://github.com/apache/nuttx-apps/pull/1559

Before that PR:

nsh> echo "t120o1l16b9n0baan0bn0bn0baaan0b9n0baan0b" > /dev/tone0
tone_write: Received 41 bytes
nsh>

After that PR:

nsh> echo "t120o1l16b9n0baan0bn0bn0baaan0b9n0baan0b" > /dev/tone0
tone_write: Received 40 bytes
tone_write: Received 1 bytes
nsh>

Unfortunately the Audio Tone was not block new write attempts even
when it was already playing a melody.

This commit fix it and avoids the issue caused by that PR.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-07-02 08:59:54 -03:00
..
audio_dma.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
audio_fake.c !sched/clock: remove CONFIG_SYSTEM_TIME64 and always use 64-bit time 2026-05-19 16:21:28 +08:00
audio_i2s.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
audio_null.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
CMakeLists.txt audio: add ES7210 4-ch ADC codec driver 2026-04-03 13:34:36 +08:00
cs43l22.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
cs43l22.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
cs43l22_debug.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
cs4344.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
cs4344.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
es7210.c audio: add ES7210 4-ch ADC codec driver 2026-04-03 13:34:36 +08:00
es7210.h audio: add ES7210 4-ch ADC codec driver 2026-04-03 13:34:36 +08:00
es8311.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
es8311.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
es8311_debug.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
es8388.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
es8388.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
es8388_debug.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
esxxxx_common.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
Kconfig audio: add ES7210 4-ch ADC codec driver 2026-04-03 13:34:36 +08:00
Make.defs audio: add ES7210 4-ch ADC codec driver 2026-04-03 13:34:36 +08:00
tone.c drivers/audio: Fix audio tone generator 2026-07-02 08:59:54 -03:00
vs1053.c style: fix checkpatch issues after debug.h move 2026-04-07 07:50:06 -03:00
vs1053.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
wm8776.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
wm8776.h wm8776: use small lock in drivers/audio/wm8776.c 2024-12-05 21:22:32 +08:00
wm8904.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
wm8904.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
wm8904_debug.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
wm8994.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
wm8994.h style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
wm8994_debug.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00