diff options
Diffstat (limited to 'apps/playback.c')
-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) | |||
1714 | { | 1714 | { |
1715 | /* Haven't finished the metadata but the notification is | 1715 | /* Haven't finished the metadata but the notification is |
1716 | anticipated to come soon */ | 1716 | anticipated to come soon */ |
1717 | logf("%s(): in progress ok: %d". __func__, info->id3_hid); | 1717 | logf("%s(): in progress ok: %d", __func__, info->id3_hid); |
1718 | return LOAD_TRACK_OK; | 1718 | return LOAD_TRACK_OK; |
1719 | } | 1719 | } |
1720 | else if (filling == STATE_FULL) | 1720 | else if (filling == STATE_FULL) |
@@ -1722,7 +1722,7 @@ static int audio_load_track(void) | |||
1722 | /* Buffer was full trying to complete the load after the | 1722 | /* Buffer was full trying to complete the load after the |
1723 | metadata finished, so attempt to continue - older handles | 1723 | metadata finished, so attempt to continue - older handles |
1724 | should have been cleared already */ | 1724 | should have been cleared already */ |
1725 | logf("%s(): finishing load: %d". __func__, info->id3_hid); | 1725 | logf("%s(): finishing load: %d", __func__, info->id3_hid); |
1726 | filling = STATE_FILLING; | 1726 | filling = STATE_FILLING; |
1727 | buffer_event_finished_callback(&info->id3_hid); | 1727 | buffer_event_finished_callback(&info->id3_hid); |
1728 | return LOAD_TRACK_OK; | 1728 | return LOAD_TRACK_OK; |
@@ -1730,7 +1730,7 @@ static int audio_load_track(void) | |||
1730 | } | 1730 | } |
1731 | 1731 | ||
1732 | /* Some old, stray buffering message */ | 1732 | /* Some old, stray buffering message */ |
1733 | logf("%s(): already in progress: %d". __func__, info->id3_hid); | 1733 | logf("%s(): already in progress: %d", __func__, info->id3_hid); |
1734 | return LOAD_TRACK_ERR_BUSY; | 1734 | return LOAD_TRACK_ERR_BUSY; |
1735 | } | 1735 | } |
1736 | 1736 | ||
@@ -1929,7 +1929,7 @@ static int audio_finish_load_track(struct track_info *info) | |||
1929 | track_id3->offset = 0; | 1929 | track_id3->offset = 0; |
1930 | 1930 | ||
1931 | logf("%s: set offset for %s to %lu\n", __func__, | 1931 | logf("%s: set offset for %s to %lu\n", __func__, |
1932 | id3->title, (unsigned long)offset); | 1932 | track_id3->title, (unsigned long)track_id3->offset); |
1933 | 1933 | ||
1934 | /* Adjust for resume rewind so we know what to buffer - starting the codec | 1934 | /* Adjust for resume rewind so we know what to buffer - starting the codec |
1935 | calls it again, so we don't save it (and they shouldn't accumulate) */ | 1935 | 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) | |||
2061 | static int audio_reset_and_rebuffer( | 2061 | static int audio_reset_and_rebuffer( |
2062 | enum track_clear_action action, int peek_offset) | 2062 | enum track_clear_action action, int peek_offset) |
2063 | { | 2063 | { |
2064 | logf("Forcing rebuffer: 0x%X, %d", flags, peek_offset); | 2064 | logf("Forcing rebuffer: 0x%X, %d", action, peek_offset); |
2065 | 2065 | ||
2066 | id3_write_locked(UNBUFFERED_ID3, NULL); | 2066 | id3_write_locked(UNBUFFERED_ID3, NULL); |
2067 | 2067 | ||