diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2012-04-26 17:19:16 -0400 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2012-04-26 17:19:16 -0400 |
| commit | 0842d7f7e1f123926bc7741c6ecfbcd631a65bea (patch) | |
| tree | 3030e3bd5e1a322a8601379f2bd61aa71a50fc99 /apps/settings.h | |
| parent | 97a535d83c0f057b190c7a82f95297696b25a0df (diff) | |
| download | rockbox-0842d7f7e1f123926bc7741c6ecfbcd631a65bea.zip rockbox-0842d7f7e1f123926bc7741c6ecfbcd631a65bea.tar.gz rockbox-0842d7f7e1f123926bc7741c6ecfbcd631a65bea.tar.bz2 rockbox-0842d7f7e1f123926bc7741c6ecfbcd631a65bea.tar.xz | |
Consolidate compressor settings into a struct.
Doing that makes things cleaner for later on.
Change-Id: I4e279aa57ace16a348acc0fc09059592325ec95f
Diffstat (limited to 'apps/settings.h')
| -rw-r--r-- | apps/settings.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/apps/settings.h b/apps/settings.h index fb562c9..b312c1e 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -772,11 +772,14 @@ struct user_settings #endif #if CONFIG_CODEC == SWCODEC - int compressor_threshold; - int compressor_makeup_gain; - int compressor_ratio; - int compressor_knee; - int compressor_release_time; + struct compressor_settings + { + int threshold; + int makeup_gain; + int ratio; + int knee; + int release_time; + } compressor_settings; #endif int sleeptimer_duration; /* In minutes; 0=off */ |