summaryrefslogtreecommitdiff
path: root/apps/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/misc.c')
-rw-r--r--apps/misc.c16
1 files changed, 0 insertions, 16 deletions
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 )
682 return 0; 682 return 0;
683} 683}
684 684
685#if CONFIG_CODEC == SWCODEC
686int get_replaygain_mode(bool have_track_gain, bool have_album_gain)
687{
688 int type;
689
690 bool track = ((global_settings.replaygain_type == REPLAYGAIN_TRACK)
691 || ((global_settings.replaygain_type == REPLAYGAIN_SHUFFLE)
692 && global_settings.playlist_shuffle));
693
694 type = (!track && have_album_gain) ? REPLAYGAIN_ALBUM
695 : have_track_gain ? REPLAYGAIN_TRACK : -1;
696
697 return type;
698}
699#endif
700
701#ifdef BOOTFILE 685#ifdef BOOTFILE
702#if !defined(USB_NONE) && !defined(USB_HANDLED_BY_OF) 686#if !defined(USB_NONE) && !defined(USB_HANDLED_BY_OF)
703/* 687/*