summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/encoderrbspeex.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-01-29 15:36:30 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-01-29 22:55:18 +0100
commit0ae49c2719b9b2cceab33ad1c6b44873b38e71b1 (patch)
tree4d59e9752258981fd6d3c5d98a2b9ddfdc52a12a /rbutil/rbutilqt/base/encoderrbspeex.h
parent933a67489111ed8372f29cc213e2399465592c19 (diff)
downloadrockbox-0ae49c2719b9b2cceab33ad1c6b44873b38e71b1.tar.gz
rockbox-0ae49c2719b9b2cceab33ad1c6b44873b38e71b1.tar.bz2
rockbox-0ae49c2719b9b2cceab33ad1c6b44873b38e71b1.zip
Separate default quality setting for encoders.
Instead of having a global quality setting for the encoder make the encoder provide its default value by itself. Fixes the libmp3lame encoder using an unsuitable value since the range differs greatly between the encoders. Centralize reading the configuration values for rbspeex. The values are stored in member variables, so it's not necessary to read them multiple times. Change-Id: Ia26cb1fc3bb4f927d13212fe7883bdfe2571a711
Diffstat (limited to 'rbutil/rbutilqt/base/encoderrbspeex.h')
-rw-r--r--rbutil/rbutilqt/base/encoderrbspeex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/base/encoderrbspeex.h b/rbutil/rbutilqt/base/encoderrbspeex.h
index 9f51d8e264..b3028b3250 100644
--- a/rbutil/rbutilqt/base/encoderrbspeex.h
+++ b/rbutil/rbutilqt/base/encoderrbspeex.h
@@ -45,6 +45,7 @@ class EncoderRbSpeex : public EncoderBase
void saveSettings();
private:
+ void loadSettings(void);
float quality;
float volume;
int complexity;