Separate default quality setting for encoders.
commit0ae49c2719b9b2cceab33ad1c6b44873b38e71b1
authorDominik Riebeling <Dominik.Riebeling@gmail.com>
Sun, 29 Jan 2012 14:36:30 +0000 (29 15:36 +0100)
committerDominik Riebeling <Dominik.Riebeling@gmail.com>
Sun, 29 Jan 2012 21:55:18 +0000 (29 22:55 +0100)
tree4d59e9752258981fd6d3c5d98a2b9ddfdc52a12a
parent933a67489111ed8372f29cc213e2399465592c19
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
rbutil/rbutilqt/base/encoderrbspeex.cpp
rbutil/rbutilqt/base/encoderrbspeex.h
rbutil/rbutilqt/base/rbsettings.cpp