diff options
author | Magnus Holmgren <magnushol@gmail.com> | 2006-11-15 20:26:33 +0000 |
---|---|---|
committer | Magnus Holmgren <magnushol@gmail.com> | 2006-11-15 20:26:33 +0000 |
commit | ea7992455a9704e2eb6bd6c9b39fabd111a7b997 (patch) | |
tree | 44e4f25d4e21b4686e682754b1f3fbef2fcfe03f /apps/misc.h | |
parent | 442c0e663f20dfd64e6d7d818ab13f444804ab5e (diff) | |
download | rockbox-ea7992455a9704e2eb6bd6c9b39fabd111a7b997.tar.gz rockbox-ea7992455a9704e2eb6bd6c9b39fabd111a7b997.zip |
Make the updated %rg tag match playback behaviour (fall back to track gain if album gain requested but not available). Share the mode decision logic with playback code and simplify the %rg tag handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11532 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/misc.h')
-rw-r--r-- | apps/misc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/misc.h b/apps/misc.h index 6c660e0a5e..f273631030 100644 --- a/apps/misc.h +++ b/apps/misc.h | |||
@@ -82,4 +82,12 @@ long default_event_handler(long event); | |||
82 | void car_adapter_mode_init(void); | 82 | void car_adapter_mode_init(void); |
83 | extern int show_logo(void); | 83 | extern int show_logo(void); |
84 | 84 | ||
85 | #if CONFIG_CODEC == SWCODEC | ||
86 | /* Return current ReplayGain mode a file should have (REPLAYGAIN_TRACK or | ||
87 | * REPLAYGAIN_ALBUM) if ReplayGain processing is enabled, or -1 if no | ||
88 | * information present. | ||
89 | */ | ||
90 | int get_replaygain_mode(bool have_track_gain, bool have_album_gain); | ||
91 | #endif | ||
92 | |||
85 | #endif /* MISC_H */ | 93 | #endif /* MISC_H */ |