summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/encoderlame.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-04-06 16:56:39 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-04-06 17:00:48 +0200
commit0c4bd3a9c4258f222c9cfda65efff0353496263c (patch)
tree137161a295590574294512a47d80214168971013 /rbutil/rbutilqt/base/encoderlame.h
parentfe756b65deed38a82de2d6097a2bd4798f7cd0eb (diff)
downloadrockbox-0c4bd3a9c4258f222c9cfda65efff0353496263c.tar.gz
rockbox-0c4bd3a9c4258f222c9cfda65efff0353496263c.tar.bz2
rockbox-0c4bd3a9c4258f222c9cfda65efff0353496263c.zip
libmp3lame encoder: don't retrieve settings for each run.
Retrieve the encoder settings only when creating the object or when saving. Avoids unnecessary overhead by accessing the settings object on each encoder call, which also clutters the system trace log. Change-Id: If64e5d1d5ac8f1d4b0afd1bc4851e455fc7e64c2
Diffstat (limited to 'rbutil/rbutilqt/base/encoderlame.h')
-rw-r--r--rbutil/rbutilqt/base/encoderlame.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/base/encoderlame.h b/rbutil/rbutilqt/base/encoderlame.h
index 8b9444589a..a8651f0cda 100644
--- a/rbutil/rbutilqt/base/encoderlame.h
+++ b/rbutil/rbutilqt/base/encoderlame.h
@@ -64,6 +64,8 @@ class EncoderLame : public EncoderBase
int (*m_lame_close)(lame_global_flags*);
bool m_symbolsResolved;
+ double m_encoderVolume;
+ double m_encoderQuality;
};
#endif