Skip to content

Commit e208c32

Browse files
committed
update
Signed-off-by: Tang Sun <714858993@qq.com>
1 parent 34419e1 commit e208c32

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

drivers/audio/espressif/es8388_audio.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,12 @@ int es8388_audio_play_sound(const char *name)
404404

405405
#else /* stubs — no esp_codec_dev or non-ESP-IDF */
406406

407-
407+
int es8388_audio_init(void *bus, int pa) { (void)bus; (void)pa; return -1; }
408+
void es8388_audio_set_volume(int v) { (void)v; }
409+
void es8388_audio_enable_output(int e) { (void)e; }
410+
void es8388_audio_write(const int16_t *d, size_t s) { (void)d; (void)s; }
411+
void es8388_audio_beep(int f, int d, int v) { (void)f; (void)d; (void)v; }
412+
int es8388_audio_play_sound(const char *n) { (void)n; return -1; }
408413

409414
#endif
410415

0 commit comments

Comments
 (0)