summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2008-03-04 22:35:51 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2008-03-04 22:35:51 +0000
commit0fd6a04eee7984b21fa3fa5f759f84ccccdf68db (patch)
treeb9f940f68f3033c8b3f9784efb0faf24880c47f8
parent1e6d550087d195032495e9648d3c305a1fd80044 (diff)
downloadrockbox-0fd6a04eee7984b21fa3fa5f759f84ccccdf68db.zip
rockbox-0fd6a04eee7984b21fa3fa5f759f84ccccdf68db.tar.gz
rockbox-0fd6a04eee7984b21fa3fa5f759f84ccccdf68db.tar.bz2
rockbox-0fd6a04eee7984b21fa3fa5f759f84ccccdf68db.tar.xz
Pragmatic fix for FS#8681 (logf breaks scrobbling). The correct fix is a better event mechanism but scrobbling is currently the only track_changed_event consumer so I'll wait til I have more time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16520 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/playback.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 847fdfa..f757f4a 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -2595,15 +2595,6 @@ static void audio_thread(void)
} /* end while */
}
-#ifdef ROCKBOX_HAS_LOGF
-static void audio_test_track_changed_event(struct mp3entry *id3)
-{
- (void)id3;
-
- logf("tce:%s", id3->path);
-}
-#endif
-
/* Initialize the audio system - called from init() in main.c.
* Last function because of all the references to internal symbols
*/
@@ -2631,10 +2622,6 @@ void audio_init(void)
pcm_init();
-#ifdef ROCKBOX_HAS_LOGF
- audio_set_track_changed_event(audio_test_track_changed_event);
-#endif
-
/* Initialize codec api. */
ci.read_filebuf = codec_filebuf_callback;
ci.pcmbuf_insert = codec_pcmbuf_insert_callback;