forked from len0rd/rockbox
playback: Fix build with LOGF_ENABLE.
Change-Id: I01154d4a9441f44852748c910c267419f7f4149e
This commit is contained in:
parent
6979a5b63c
commit
500b137308
1 changed files with 5 additions and 5 deletions
|
@ -1714,7 +1714,7 @@ static int audio_load_track(void)
|
||||||
{
|
{
|
||||||
/* Haven't finished the metadata but the notification is
|
/* Haven't finished the metadata but the notification is
|
||||||
anticipated to come soon */
|
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;
|
return LOAD_TRACK_OK;
|
||||||
}
|
}
|
||||||
else if (filling == STATE_FULL)
|
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
|
/* Buffer was full trying to complete the load after the
|
||||||
metadata finished, so attempt to continue - older handles
|
metadata finished, so attempt to continue - older handles
|
||||||
should have been cleared already */
|
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;
|
filling = STATE_FILLING;
|
||||||
buffer_event_finished_callback(&info->id3_hid);
|
buffer_event_finished_callback(&info->id3_hid);
|
||||||
return LOAD_TRACK_OK;
|
return LOAD_TRACK_OK;
|
||||||
|
@ -1730,7 +1730,7 @@ static int audio_load_track(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Some old, stray buffering message */
|
/* 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;
|
return LOAD_TRACK_ERR_BUSY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1929,7 +1929,7 @@ static int audio_finish_load_track(struct track_info *info)
|
||||||
track_id3->offset = 0;
|
track_id3->offset = 0;
|
||||||
|
|
||||||
logf("%s: set offset for %s to %lu\n", __func__,
|
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
|
/* 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) */
|
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(
|
static int audio_reset_and_rebuffer(
|
||||||
enum track_clear_action action, int peek_offset)
|
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);
|
id3_write_locked(UNBUFFERED_ID3, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue