diff options
Diffstat (limited to 'firmware/mp3_playback.c')
-rw-r--r-- | firmware/mp3_playback.c | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/firmware/mp3_playback.c b/firmware/mp3_playback.c index c5c747ac2c..b2b7205318 100644 --- a/firmware/mp3_playback.c +++ b/firmware/mp3_playback.c | |||
@@ -590,6 +590,25 @@ unsigned char* mp3_get_pos(void) | |||
590 | { | 590 | { |
591 | return (unsigned char*)SAR3; | 591 | return (unsigned char*)SAR3; |
592 | } | 592 | } |
593 | #else /* #ifndef SIMULATOR */ | ||
593 | 594 | ||
595 | void mp3_play_pause(bool play) | ||
596 | { | ||
597 | (void)play; | ||
598 | } | ||
599 | void mp3_play_stop(void) | ||
600 | { | ||
601 | } | ||
594 | 602 | ||
595 | #endif /* #ifndef SIMULATOR */ | 603 | unsigned char* mp3_get_pos(void) |
604 | { | ||
605 | return NULL; | ||
606 | } | ||
607 | |||
608 | void mp3_play_data(const unsigned char* start, int size, | ||
609 | void (*get_more)(unsigned char** start, size_t* size) /* callback fn */ | ||
610 | ) | ||
611 | { | ||
612 | (void)start; (void)size; (void)get_more; | ||
613 | } | ||
614 | #endif | ||