Make the histogram code usable for playback as well. Move the recording histogram code to peakmeter, rename it to remove the recording reference, and rename anything referring to it as well. Change the drawing code so there are more options to position them. This may change your histogram settings, so check after upgrading.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29969 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Peter D'Hoye 2011-06-05 12:36:27 +00:00
parent 62e06cc2a4
commit 82f4c60db4
33 changed files with 266 additions and 243 deletions

View file

@ -438,8 +438,8 @@ struct user_settings
int rec_stop_gap; /* index of trig_durations */
int rec_trigger_mode; /* see TRIG_MODE_XXX constants */
int rec_trigger_type; /* what to do when trigger released */
#ifdef HAVE_RECORDING_HISTOGRAM
int rec_histogram_interval; /* recording peakmeter histogram */
#ifdef HAVE_HISTOGRAM
int histogram_interval; /* recording peakmeter histogram */
#endif
#ifdef HAVE_AGC