1
0
Fork 0
forked from len0rd/rockbox

minor bugfix

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4412 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jörg Hohensohn 2004-03-19 22:15:52 +00:00
parent 7ceee9d04b
commit fd5714bbef

View file

@ -107,8 +107,8 @@ void calc_time_to_next_tock(void){
}
void callback(unsigned char** start, int* size){
*start = sound; /* give it the same frame again */
*size = NULL;
(void)start; /* unused parameter, avoid warning */
*size = NULL; /* end of data */
sound_active = false;
led(0);
}
@ -182,7 +182,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter){
rb->bitswap(sound, sizeof(sound));
if (rb->mp3_is_playing)
if (rb->mp3_is_playing())
rb->mp3_play_stop(); // stop audio ISR
calc_time_to_next_tock();