mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
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
This commit is contained in:
parent
933a674891
commit
0ae49c2719
3 changed files with 28 additions and 24 deletions
|
|
@ -45,6 +45,7 @@ class EncoderRbSpeex : public EncoderBase
|
|||
void saveSettings();
|
||||
|
||||
private:
|
||||
void loadSettings(void);
|
||||
float quality;
|
||||
float volume;
|
||||
int complexity;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue