diff options
| author | Andrew Ryabinin <ryabinin.a.a@gmail.com> | 2013-11-10 15:34:31 +0400 |
|---|---|---|
| committer | Andrew Ryabinin <ryabinin.a.a@gmail.com> | 2013-11-10 15:36:18 +0400 |
| commit | 500b137308a6ee5c2aba873734a8956d70472f56 (patch) | |
| tree | 32ad6d6a5918c0f64ac44a2e0527a90fc0d0764e | |
| parent | 6979a5b63c184ce0ec0daa392edacde184d40d29 (diff) | |
| download | rockbox-500b137308a6ee5c2aba873734a8956d70472f56.tar.gz rockbox-500b137308a6ee5c2aba873734a8956d70472f56.tar.bz2 rockbox-500b137308a6ee5c2aba873734a8956d70472f56.zip | |
playback: Fix build with LOGF_ENABLE.
Change-Id: I01154d4a9441f44852748c910c267419f7f4149e
| -rw-r--r-- | apps/playback.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/playback.c b/apps/playback.c index a1db82eafd..b240e95acd 100644 --- a/apps/playback.c +++ b/apps/playback.c @@ -1714,7 +1714,7 @@ static int audio_load_track(void) { /* Haven't finished the metadata but the notification is anticipated to come soon */ - logf("%s(): in progress ok: %d". __func__, info->id3_hid); + logf("%s(): in progress ok: %d", __func__, info->id3_hid); return LOAD_TRACK_OK; } else if (filling == STATE_FULL) @@ -1722,7 +1722,7 @@ static int audio_load_track(void) /* Buffer was full trying to complete the load after the metadata finished, so attempt to continue - older handles should have been cleared already */ - logf("%s(): finishing load: %d". __func__, info->id3_hid); + logf("%s(): finishing load: %d", __func__, info->id3_hid); filling = STATE_FILLING; buffer_event_finished_callback(&info->id3_hid); return LOAD_TRACK_OK; @@ -1730,7 +1730,7 @@ static int audio_load_track(void) } /* Some old, stray buffering message */ - logf("%s(): already in progress: %d". __func__, info->id3_hid); + logf("%s(): already in progress: %d", __func__, info->id3_hid); return LOAD_TRACK_ERR_BUSY; } @@ -1929,7 +1929,7 @@ static int audio_finish_load_track(struct track_info *info) track_id3->offset = 0; logf("%s: set offset for %s to %lu\n", __func__, - id3->title, (unsigned long)offset); + track_id3->title, (unsigned long)track_id3->offset); /* Adjust for resume rewind so we know what to buffer - starting the codec calls it again, so we don't save it (and they shouldn't accumulate) */ @@ -2061,7 +2061,7 @@ static int audio_fill_file_buffer(void) static int audio_reset_and_rebuffer( enum track_clear_action action, int peek_offset) { - logf("Forcing rebuffer: 0x%X, %d", flags, peek_offset); + logf("Forcing rebuffer: 0x%X, %d", action, peek_offset); id3_write_locked(UNBUFFERED_ID3, NULL); |
