diff options
| author | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-03-19 22:15:52 +0000 |
|---|---|---|
| committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-03-19 22:15:52 +0000 |
| commit | fd5714bbefc0b4c80409fe35db0dfb60e0e5e01a (patch) | |
| tree | 9a5064a6ad17833a66dd7ec5b80b6b0b4fae98af /apps/plugins | |
| parent | 7ceee9d04b9bed48b1e48ab1862f4f2da373f335 (diff) | |
| download | rockbox-fd5714bbefc0b4c80409fe35db0dfb60e0e5e01a.zip rockbox-fd5714bbefc0b4c80409fe35db0dfb60e0e5e01a.tar.gz rockbox-fd5714bbefc0b4c80409fe35db0dfb60e0e5e01a.tar.bz2 rockbox-fd5714bbefc0b4c80409fe35db0dfb60e0e5e01a.tar.xz | |
minor bugfix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4412 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/metronome.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/metronome.c b/apps/plugins/metronome.c index 00cbe18..a6ca3d3 100644 --- a/apps/plugins/metronome.c +++ b/apps/plugins/metronome.c @@ -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(); |