summaryrefslogtreecommitdiff
path: root/examples/host/audio_host/src/app.h
diff options
context:
space:
mode:
authorHiFiPHile <[email protected]>2026-08-27 09:58:09 +0200
committerHiFiPHile <[email protected]>2026-08-27 10:36:52 +0200
commited70f7206694e2ee5dfc0e7b3b947c27413deba0 (patch)
tree07e086ff2b5bb559d5d080abc787a91a4c868bcb /examples/host/audio_host/src/app.h
parentfa72b235db44741ee72897a5fa252e858244b6ec (diff)
audio: service example FIFOs at watermarks
Move capture and playback FIFO servicing into the main-loop task at half-full and half-drained watermarks. Use transfer callbacks only for diagnostics, share one conversion buffer, and demonstrate that application reads and writes need not be synchronized to USB callbacks. Signed-off-by: HiFiPHile <[email protected]>
Diffstat (limited to 'examples/host/audio_host/src/app.h')
-rw-r--r--examples/host/audio_host/src/app.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/host/audio_host/src/app.h b/examples/host/audio_host/src/app.h
index 474544a19..45ba52dd2 100644
--- a/examples/host/audio_host/src/app.h
+++ b/examples/host/audio_host/src/app.h
@@ -22,7 +22,6 @@
#include <stdint.h>
void led_blinking_task(void);
-void audio_app_task_read(void);
-void audio_app_task_write(void);
+void audio_app_task(void);
void defer_queue_task(void);
#endif