From faa47bf1b77c3155d52514bc1b294f82b72cd5db Mon Sep 17 00:00:00 2001 From: Jeffrey Goode Date: Thu, 22 Oct 2009 00:59:42 +0000 Subject: Code cleanup in dsp.c and misc.c, some comments git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23314 a1c6a512-1295-4272-9138-f99709370657 --- apps/misc.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'apps/misc.c') diff --git a/apps/misc.c b/apps/misc.c index 2766264de7..47ebf58080 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -682,22 +682,6 @@ int show_logo( void ) return 0; } -#if CONFIG_CODEC == SWCODEC -int get_replaygain_mode(bool have_track_gain, bool have_album_gain) -{ - int type; - - bool track = ((global_settings.replaygain_type == REPLAYGAIN_TRACK) - || ((global_settings.replaygain_type == REPLAYGAIN_SHUFFLE) - && global_settings.playlist_shuffle)); - - type = (!track && have_album_gain) ? REPLAYGAIN_ALBUM - : have_track_gain ? REPLAYGAIN_TRACK : -1; - - return type; -} -#endif - #ifdef BOOTFILE #if !defined(USB_NONE) && !defined(USB_HANDLED_BY_OF) /* -- cgit v1.2.3