Added more advanced options: MP3 channel mode, sampling rate, Nero AAC profile, Nero AAC 2-Pass mode.

This commit is contained in:
LoRd_MuldeR 2011-01-22 22:19:20 +01:00
parent 3f0796d288
commit 6c43678b7f
12 changed files with 1188 additions and 299 deletions

View File

@ -445,7 +445,10 @@ Function CheckForUpdate
IfFileExists "$INSTDIR\*.*" +2 IfFileExists "$INSTDIR\*.*" +2
Return Return
IfFileExists "$INSTDIR\LameXP.exe" EnableUpdateMode StrCmp "$EXEDIR" "$INSTDIR" 0 +2
Return
IfFileExists "$INSTDIR\LameXP.exe" +2
Return Return
EnableUpdateMode: EnableUpdateMode:

View File

@ -401,18 +401,6 @@
<source>Advanced Options</source> <source>Advanced Options</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source> LAME Algorithm Quality </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Faster Processing</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Better quality</source>
<translation type="unfinished"></translation>
</message>
<message> <message>
<source> Bitrate Management (LAME and OggEnc2) </source> <source> Bitrate Management (LAME and OggEnc2) </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@ -429,6 +417,106 @@
<source>Maximum (kbps):</source> <source>Maximum (kbps):</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source> LAME Algorithm Quality </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Faster Processing</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Better quality</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Channel Mode / Sampling Rate</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Auto Select (Default)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Joint Stereo</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Forced Joint Stereo</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Simple</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dual Mono</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Mono</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>MP3 Channel Mode:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>16.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>22.050</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>24.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>32.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>44.100</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>48.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sampling Rate (Hz):</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Nero AAC Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enable 2-Pass Processing (ABR Mode)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Select AAC Profile:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Auto (Recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enforce LC-AAC</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enforce HE-AAC (AAC + SBR)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enforce HE-AAC v2 (AAC +SBR + PS)</source>
<translation type="unfinished"></translation>
</message>
<message> <message>
<source> Encode Now!</source> <source> Encode Now!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>

View File

@ -942,6 +942,94 @@
<source>Maximum (kbps):</source> <source>Maximum (kbps):</source>
<translation>Maximum (kbps):</translation> <translation>Maximum (kbps):</translation>
</message> </message>
<message>
<source>Channel Mode / Sampling Rate</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Auto Select (Default)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Joint Stereo</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Forced Joint Stereo</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Simple</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dual Mono</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Mono</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>MP3 Channel Mode:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>16.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>22.050</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>24.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>32.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>44.100</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>48.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sampling Rate (Hz):</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Nero AAC Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enable 2-Pass Processing (ABR Mode)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Select AAC Profile:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Auto (Recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enforce LC-AAC</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enforce HE-AAC (AAC + SBR)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enforce HE-AAC v2 (AAC +SBR + PS)</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>MetaInfo</name> <name>MetaInfo</name>

View File

@ -942,6 +942,94 @@
<source>Maximum (kbps):</source> <source>Maximum (kbps):</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Channel Mode / Sampling Rate</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Auto Select (Default)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Joint Stereo</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Forced Joint Stereo</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Simple</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dual Mono</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Mono</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>MP3 Channel Mode:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>16.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>22.050</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>24.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>32.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>44.100</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>48.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sampling Rate (Hz):</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Nero AAC Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enable 2-Pass Processing (ABR Mode)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Select AAC Profile:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Auto (Recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enforce LC-AAC</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enforce HE-AAC (AAC + SBR)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enforce HE-AAC v2 (AAC +SBR + PS)</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>MetaInfo</name> <name>MetaInfo</name>

View File

@ -946,6 +946,94 @@ Votre dossier TEMP est situé ici:</translation>
<source>Maximum (kbps):</source> <source>Maximum (kbps):</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Channel Mode / Sampling Rate</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Auto Select (Default)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Joint Stereo</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Forced Joint Stereo</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Simple</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dual Mono</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Mono</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>MP3 Channel Mode:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>16.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>22.050</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>24.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>32.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>44.100</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>48.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sampling Rate (Hz):</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Nero AAC Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enable 2-Pass Processing (ABR Mode)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Select AAC Profile:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Auto (Recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enforce LC-AAC</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enforce HE-AAC (AAC + SBR)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enforce HE-AAC v2 (AAC +SBR + PS)</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>MetaInfo</name> <name>MetaInfo</name>

View File

@ -942,6 +942,94 @@
<source>Maximum (kbps):</source> <source>Maximum (kbps):</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Channel Mode / Sampling Rate</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Auto Select (Default)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Joint Stereo</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Forced Joint Stereo</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Simple</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Dual Mono</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Mono</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>MP3 Channel Mode:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>16.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>22.050</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>24.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>32.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>44.100</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>48.000</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sampling Rate (Hz):</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Nero AAC Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enable 2-Pass Processing (ABR Mode)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Select AAC Profile:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Auto (Recommended)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enforce LC-AAC</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enforce HE-AAC (AAC + SBR)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enforce HE-AAC v2 (AAC +SBR + PS)</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>MetaInfo</name> <name>MetaInfo</name>

View File

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>667</width> <width>667</width>
<height>459</height> <height>407</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -970,290 +970,664 @@
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_8"> <layout class="QGridLayout" name="gridLayout_8">
<item row="0" column="0"> <item row="0" column="0">
<layout class="QGridLayout" name="gridLayout_7"> <widget class="QScrollArea" name="scrollArea">
<item row="0" column="0"> <property name="widgetResizable">
<widget class="QGroupBox" name="groupBox_5"> <bool>true</bool>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="title">
<string> LAME Algorithm Quality </string>
</property>
<layout class="QGridLayout" name="gridLayout_17">
<item row="0" column="1">
<layout class="QGridLayout" name="gridLayout_16">
<item row="7" column="1" colspan="3">
<widget class="QSlider" name="sliderLameAlgoQuality">
<property name="maximum">
<number>4</number>
</property>
<property name="pageStep">
<number>1</number>
</property>
<property name="value">
<number>3</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="tickPosition">
<enum>QSlider::TicksBelow</enum>
</property>
<property name="tickInterval">
<number>1</number>
</property>
</widget>
</item>
<item row="7" column="0">
<spacer name="horizontalSpacer_12">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Maximum</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>10</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="7" column="4">
<spacer name="horizontalSpacer_13">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>10</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="8" column="1">
<widget class="QLabel" name="label">
<property name="text">
<string>Faster Processing</string>
</property>
</widget>
</item>
<item row="8" column="2">
<widget class="QLabel" name="labelLameAlgoQuality">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string notr="true">(VALUE)</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="8" column="3">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Better quality</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="6" column="1" colspan="3">
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>8</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item row="2" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property> </property>
<property name="sizeType"> <widget class="QWidget" name="scrollAreaWidgetContents">
<enum>QSizePolicy::Expanding</enum> <property name="geometry">
</property> <rect>
<property name="sizeHint" stdset="0"> <x>0</x>
<size> <y>0</y>
<width>20</width> <width>604</width>
<height>40</height> <height>399</height>
</size> </rect>
</property> </property>
</spacer> <layout class="QGridLayout" name="gridLayout_22">
</item> <item row="0" column="0">
<item row="1" column="0"> <layout class="QGridLayout" name="gridLayout_7">
<widget class="QGroupBox" name="groupBox_6"> <item row="1" column="0">
<property name="font"> <widget class="QGroupBox" name="groupBox_6">
<font> <property name="font">
<weight>50</weight> <font>
<bold>false</bold> <weight>50</weight>
</font> <bold>false</bold>
</property> </font>
<property name="title"> </property>
<string> Bitrate Management (LAME and OggEnc2) </string> <property name="title">
</property> <string> Bitrate Management (LAME and OggEnc2) </string>
<layout class="QGridLayout" name="gridLayout_19"> </property>
<item row="0" column="0"> <layout class="QGridLayout" name="gridLayout_19">
<layout class="QGridLayout" name="gridLayout_18"> <item row="0" column="0">
<item row="0" column="1" colspan="5"> <layout class="QGridLayout" name="gridLayout_18">
<spacer name="verticalSpacer_5"> <item row="0" column="1" colspan="5">
<property name="orientation"> <spacer name="verticalSpacer_5">
<enum>Qt::Vertical</enum> <property name="orientation">
</property> <enum>Qt::Vertical</enum>
<property name="sizeType"> </property>
<enum>QSizePolicy::Fixed</enum> <property name="sizeType">
</property> <enum>QSizePolicy::Fixed</enum>
<property name="sizeHint" stdset="0"> </property>
<size> <property name="sizeHint" stdset="0">
<width>20</width> <size>
<height>10</height> <width>20</width>
</size> <height>10</height>
</property> </size>
</spacer> </property>
</item> </spacer>
<item row="2" column="1" colspan="5"> </item>
<spacer name="verticalSpacer_6"> <item row="2" column="1" colspan="5">
<property name="orientation"> <spacer name="verticalSpacer_6">
<enum>Qt::Vertical</enum> <property name="orientation">
</property> <enum>Qt::Vertical</enum>
<property name="sizeType"> </property>
<enum>QSizePolicy::Fixed</enum> <property name="sizeType">
</property> <enum>QSizePolicy::Fixed</enum>
<property name="sizeHint" stdset="0"> </property>
<size> <property name="sizeHint" stdset="0">
<width>20</width> <size>
<height>10</height> <width>20</width>
</size> <height>10</height>
</property> </size>
</spacer> </property>
</item> </spacer>
<item row="1" column="1"> </item>
<widget class="QCheckBox" name="checkBoxBitrateManagement"> <item row="1" column="1">
<property name="text"> <widget class="QCheckBox" name="checkBoxBitrateManagement">
<string>Enable Bitrate Management</string> <property name="text">
</property> <string>Enable Bitrate Management</string>
</widget> </property>
</item> </widget>
<item row="1" column="5"> </item>
<widget class="QSpinBox" name="spinBoxBitrateManagementMax"> <item row="1" column="5">
<property name="enabled"> <widget class="QSpinBox" name="spinBoxBitrateManagementMax">
<bool>false</bool> <property name="enabled">
</property> <bool>false</bool>
<property name="minimum"> </property>
<number>32</number> <property name="minimum">
</property> <number>32</number>
<property name="maximum"> </property>
<number>500</number> <property name="maximum">
</property> <number>500</number>
<property name="value"> </property>
<number>500</number> <property name="value">
</property> <number>500</number>
</widget> </property>
</item> </widget>
<item row="1" column="3"> </item>
<widget class="QSpinBox" name="spinBoxBitrateManagementMin"> <item row="1" column="3">
<property name="enabled"> <widget class="QSpinBox" name="spinBoxBitrateManagementMin">
<bool>false</bool> <property name="enabled">
</property> <bool>false</bool>
<property name="minimum"> </property>
<number>32</number> <property name="minimum">
</property> <number>32</number>
<property name="maximum"> </property>
<number>500</number> <property name="maximum">
</property> <number>500</number>
</widget> </property>
</item> </widget>
<item row="1" column="6"> </item>
<spacer name="horizontalSpacer_15"> <item row="1" column="6">
<property name="orientation"> <spacer name="horizontalSpacer_15">
<enum>Qt::Horizontal</enum> <property name="orientation">
</property> <enum>Qt::Horizontal</enum>
<property name="sizeType"> </property>
<enum>QSizePolicy::Fixed</enum> <property name="sizeType">
</property> <enum>QSizePolicy::Fixed</enum>
<property name="sizeHint" stdset="0"> </property>
<size> <property name="sizeHint" stdset="0">
<width>8</width> <size>
<height>20</height> <width>10</width>
</size> <height>20</height>
</property> </size>
</spacer> </property>
</item> </spacer>
<item row="1" column="0"> </item>
<spacer name="horizontalSpacer_14"> <item row="1" column="0">
<property name="orientation"> <spacer name="horizontalSpacer_14">
<enum>Qt::Horizontal</enum> <property name="orientation">
</property> <enum>Qt::Horizontal</enum>
<property name="sizeType"> </property>
<enum>QSizePolicy::Fixed</enum> <property name="sizeType">
</property> <enum>QSizePolicy::Fixed</enum>
<property name="sizeHint" stdset="0"> </property>
<size> <property name="sizeHint" stdset="0">
<width>8</width> <size>
<height>20</height> <width>10</width>
</size> <height>20</height>
</property> </size>
</spacer> </property>
</item> </spacer>
<item row="1" column="2"> </item>
<widget class="QLabel" name="labelBitrateManagementMin"> <item row="1" column="2">
<property name="enabled"> <widget class="QLabel" name="labelBitrateManagementMin">
<bool>false</bool> <property name="enabled">
</property> <bool>false</bool>
<property name="text"> </property>
<string>Minimum (kbps):</string> <property name="text">
</property> <string>Minimum (kbps):</string>
<property name="alignment"> </property>
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> <property name="alignment">
</property> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</widget> </property>
</item> </widget>
<item row="1" column="4"> </item>
<widget class="QLabel" name="labelBitrateManagementMax"> <item row="1" column="4">
<property name="enabled"> <widget class="QLabel" name="labelBitrateManagementMax">
<bool>false</bool> <property name="enabled">
</property> <bool>false</bool>
<property name="text"> </property>
<string>Maximum (kbps):</string> <property name="text">
</property> <string>Maximum (kbps):</string>
<property name="alignment"> </property>
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> <property name="alignment">
</property> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</widget> </property>
</item> </widget>
</layout> </item>
</item> </layout>
</layout> </item>
</layout>
</widget>
</item>
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox_5">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="title">
<string> LAME Algorithm Quality </string>
</property>
<layout class="QGridLayout" name="gridLayout_17">
<item row="0" column="1">
<layout class="QGridLayout" name="gridLayout_16">
<item row="7" column="0">
<spacer name="horizontalSpacer_12">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Maximum</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>10</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="7" column="4">
<spacer name="horizontalSpacer_13">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>10</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="8" column="1">
<widget class="QLabel" name="label">
<property name="text">
<string>Faster Processing</string>
</property>
</widget>
</item>
<item row="8" column="2">
<widget class="QLabel" name="labelLameAlgoQuality">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string notr="true">(VALUE)</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="8" column="3">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Better quality</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="6" column="1" colspan="3">
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>8</height>
</size>
</property>
</spacer>
</item>
<item row="7" column="1" colspan="3">
<widget class="QSlider" name="sliderLameAlgoQuality">
<property name="maximum">
<number>4</number>
</property>
<property name="pageStep">
<number>1</number>
</property>
<property name="value">
<number>3</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="tickPosition">
<enum>QSlider::TicksBelow</enum>
</property>
<property name="tickInterval">
<number>1</number>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="2" column="0">
<widget class="QGroupBox" name="groupBox_8">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="title">
<string>Channel Mode / Sampling Rate</string>
</property>
<layout class="QGridLayout" name="gridLayout_24">
<item row="0" column="0">
<layout class="QGridLayout" name="gridLayout_23">
<item row="1" column="2">
<widget class="QComboBox" name="comboBoxMP3ChannelMode">
<item>
<property name="text">
<string>Auto Select (Default)</string>
</property>
</item>
<item>
<property name="text">
<string>Joint Stereo</string>
</property>
</item>
<item>
<property name="text">
<string>Forced Joint Stereo</string>
</property>
</item>
<item>
<property name="text">
<string>Simple</string>
</property>
</item>
<item>
<property name="text">
<string>Dual Mono</string>
</property>
</item>
<item>
<property name="text">
<string>Mono</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<spacer name="horizontalSpacer_18">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>10</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="9">
<spacer name="horizontalSpacer_19">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>10</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_4">
<property name="text">
<string>MP3 Channel Mode:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1" colspan="4">
<spacer name="verticalSpacer_9">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>8</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="1" colspan="4">
<spacer name="verticalSpacer_10">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>8</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="8">
<spacer name="horizontalSpacer_20">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="5">
<spacer name="horizontalSpacer_21">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="7">
<widget class="QComboBox" name="comboBoxSamplingRate">
<item>
<property name="text">
<string>Auto Select (Default)</string>
</property>
</item>
<item>
<property name="text">
<string>16.000</string>
</property>
</item>
<item>
<property name="text">
<string>22.050</string>
</property>
</item>
<item>
<property name="text">
<string>24.000</string>
</property>
</item>
<item>
<property name="text">
<string>32.000</string>
</property>
</item>
<item>
<property name="text">
<string>44.100</string>
</property>
</item>
<item>
<property name="text">
<string>48.000</string>
</property>
</item>
</widget>
</item>
<item row="1" column="6">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Sampling Rate (Hz):</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="3" column="0">
<widget class="QGroupBox" name="groupBox_7">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="title">
<string>Nero AAC Options</string>
</property>
<layout class="QGridLayout" name="gridLayout_25">
<item row="3" column="1">
<layout class="QGridLayout" name="gridLayout_21">
<item row="1" column="1">
<widget class="QCheckBox" name="checkBoxNeroAAC2PassMode">
<property name="text">
<string>Enable 2-Pass Processing (ABR Mode)</string>
</property>
</widget>
</item>
<item row="1" column="0">
<spacer name="horizontalSpacer_17">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>10</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="2">
<spacer name="horizontalSpacer_23">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>73</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="3">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Select AAC Profile:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QComboBox" name="comboBoxNeroAACProfile">
<item>
<property name="text">
<string>Auto (Recommended)</string>
</property>
</item>
<item>
<property name="text">
<string>Enforce LC-AAC</string>
</property>
</item>
<item>
<property name="text">
<string>Enforce HE-AAC (AAC + SBR)</string>
</property>
</item>
<item>
<property name="text">
<string>Enforce HE-AAC v2 (AAC +SBR + PS)</string>
</property>
</item>
</widget>
</item>
<item row="1" column="5">
<spacer name="horizontalSpacer_22">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>75</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="6">
<spacer name="horizontalSpacer_16">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>10</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="1" colspan="5">
<spacer name="verticalSpacer_8">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>13</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="1" colspan="5">
<spacer name="verticalSpacer_7">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>13</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget> </widget>
</item> </item>
</layout> </layout>
@ -1701,6 +2075,7 @@
<include location="../res/Icons.qrc"/> <include location="../res/Icons.qrc"/>
<include location="../res/Icons.qrc"/> <include location="../res/Icons.qrc"/>
<include location="../res/Icons.qrc"/> <include location="../res/Icons.qrc"/>
<include location="../res/Icons.qrc"/>
</resources> </resources>
<connections> <connections>
<connection> <connection>

View File

@ -25,7 +25,7 @@
#define VER_LAMEXP_MAJOR 4 #define VER_LAMEXP_MAJOR 4
#define VER_LAMEXP_MINOR_HI 0 #define VER_LAMEXP_MINOR_HI 0
#define VER_LAMEXP_MINOR_LO 0 #define VER_LAMEXP_MINOR_LO 0
#define VER_LAMEXP_BUILD 246 #define VER_LAMEXP_BUILD 249
#define VER_LAMEXP_SUFFIX Beta-1 #define VER_LAMEXP_SUFFIX Beta-1
/* /*

View File

@ -216,11 +216,19 @@ MainWindow::MainWindow(FileListModel *fileListModel, AudioFileModel *metaInfo, S
sliderLameAlgoQuality->setValue(m_settings->lameAlgoQuality()); sliderLameAlgoQuality->setValue(m_settings->lameAlgoQuality());
spinBoxBitrateManagementMin->setValue(m_settings->bitrateManagementMinRate()); spinBoxBitrateManagementMin->setValue(m_settings->bitrateManagementMinRate());
spinBoxBitrateManagementMax->setValue(m_settings->bitrateManagementMaxRate()); spinBoxBitrateManagementMax->setValue(m_settings->bitrateManagementMaxRate());
comboBoxMP3ChannelMode->setCurrentIndex(m_settings->lameChannelMode());
comboBoxSamplingRate->setCurrentIndex(m_settings->samplingRate());
comboBoxNeroAACProfile->setCurrentIndex(m_settings->neroAACProfile());
while(checkBoxBitrateManagement->isChecked() != m_settings->bitrateManagementEnabled()) checkBoxBitrateManagement->click(); while(checkBoxBitrateManagement->isChecked() != m_settings->bitrateManagementEnabled()) checkBoxBitrateManagement->click();
while(checkBoxNeroAAC2PassMode->isChecked() != m_settings->neroAACEnable2Pass()) checkBoxNeroAAC2PassMode->click();
connect(sliderLameAlgoQuality, SIGNAL(valueChanged(int)), this, SLOT(updateLameAlgoQuality(int))); connect(sliderLameAlgoQuality, SIGNAL(valueChanged(int)), this, SLOT(updateLameAlgoQuality(int)));
connect(checkBoxBitrateManagement, SIGNAL(clicked(bool)), this, SLOT(bitrateManagementEnabledChanged(bool))); connect(checkBoxBitrateManagement, SIGNAL(clicked(bool)), this, SLOT(bitrateManagementEnabledChanged(bool)));
connect(spinBoxBitrateManagementMin, SIGNAL(valueChanged(int)), this, SLOT(bitrateManagementMinChanged(int))); connect(spinBoxBitrateManagementMin, SIGNAL(valueChanged(int)), this, SLOT(bitrateManagementMinChanged(int)));
connect(spinBoxBitrateManagementMax, SIGNAL(valueChanged(int)), this, SLOT(bitrateManagementMaxChanged(int))); connect(spinBoxBitrateManagementMax, SIGNAL(valueChanged(int)), this, SLOT(bitrateManagementMaxChanged(int)));
connect(comboBoxMP3ChannelMode, SIGNAL(currentIndexChanged(int)), this, SLOT(channelModeChanged(int)));
connect(comboBoxSamplingRate, SIGNAL(currentIndexChanged(int)), this, SLOT(samplingRateChanged(int)));
connect(checkBoxNeroAAC2PassMode, SIGNAL(clicked(bool)), this, SLOT(neroAAC2PassChanged(bool)));
connect(comboBoxNeroAACProfile, SIGNAL(currentIndexChanged(int)), this, SLOT(neroAACProfileChanged(int)));
updateLameAlgoQuality(sliderLameAlgoQuality->value()); updateLameAlgoQuality(sliderLameAlgoQuality->value());
//Activate file menu actions //Activate file menu actions
@ -447,19 +455,34 @@ void MainWindow::changeEvent(QEvent *e)
{ {
if(e->type() == QEvent::LanguageChange) if(e->type() == QEvent::LanguageChange)
{ {
int comboBoxIndex[3];
//Backup combobox indices
comboBoxIndex[0] = comboBoxMP3ChannelMode->currentIndex();
comboBoxIndex[1] = comboBoxSamplingRate->currentIndex();
comboBoxIndex[2] = comboBoxNeroAACProfile->currentIndex();
//Re.translate from UIC
Ui::MainWindow::retranslateUi(this); Ui::MainWindow::retranslateUi(this);
//Restore combobox indices
comboBoxMP3ChannelMode->setCurrentIndex(comboBoxIndex[0]);
comboBoxSamplingRate->setCurrentIndex(comboBoxIndex[1]);
comboBoxNeroAACProfile->setCurrentIndex(comboBoxIndex[2]);
if(lamexp_version_demo()) if(lamexp_version_demo())
{ {
setWindowTitle(QString("%1 [%2]").arg(windowTitle(), tr("DEMO VERSION"))); setWindowTitle(QString("%1 [%2]").arg(windowTitle(), tr("DEMO VERSION")));
} }
//Manual re-translate
m_dropNoteLabel->setText(QString("» %1 «").arg(tr("You can drop in audio files here!"))); m_dropNoteLabel->setText(QString("» %1 «").arg(tr("You can drop in audio files here!")));
m_showDetailsContextAction->setText(tr("Show Details")); m_showDetailsContextAction->setText(tr("Show Details"));
m_previewContextAction->setText(tr("Open File in External Application")); m_previewContextAction->setText(tr("Open File in External Application"));
m_findFileContextAction->setText(tr("Browse File Location")); m_findFileContextAction->setText(tr("Browse File Location"));
m_showFolderContextAction->setText(tr("Browse Selected Folder")); m_showFolderContextAction->setText(tr("Browse Selected Folder"));
//Force GUI update
m_metaInfoModel->clearData(); m_metaInfoModel->clearData();
updateEncoder(m_settings->compressionEncoder()); updateEncoder(m_settings->compressionEncoder());
updateLameAlgoQuality(sliderLameAlgoQuality->value()); updateLameAlgoQuality(sliderLameAlgoQuality->value());
@ -1633,6 +1656,37 @@ void MainWindow::bitrateManagementMaxChanged(int value)
} }
} }
/*
* Channel mode has changed
*/
void MainWindow::channelModeChanged(int value)
{
if(value >= 0) m_settings->lameChannelMode(value);
}
/*
* Sampling rate has changed
*/
void MainWindow::samplingRateChanged(int value)
{
if(value >= 0) m_settings->samplingRate(value);
}
/*
* Nero AAC 2-Pass mode changed
*/
void MainWindow::neroAAC2PassChanged(bool checked)
{
m_settings->neroAACEnable2Pass(checked);
}
/*
* Nero AAC profile mode changed
*/
void MainWindow::neroAACProfileChanged(int value)
{
if(value >= 0) m_settings->neroAACProfile(value);
}
/* /*
* Model reset * Model reset

View File

@ -83,6 +83,10 @@ private slots:
void bitrateManagementEnabledChanged(bool checked); void bitrateManagementEnabledChanged(bool checked);
void bitrateManagementMinChanged(int value); void bitrateManagementMinChanged(int value);
void bitrateManagementMaxChanged(int value); void bitrateManagementMaxChanged(int value);
void samplingRateChanged(int value);
void channelModeChanged(int value);
void neroAACProfileChanged(int value);
void neroAAC2PassChanged(bool checked);
void sourceModelChanged(void); void sourceModelChanged(void);
void metaTagsEnabledChanged(void); void metaTagsEnabledChanged(void);
void playlistEnabledChanged(void); void playlistEnabledChanged(void);

View File

@ -51,9 +51,13 @@ static const char *g_settingsId_wmaDecoderNotificationsEnabled = "Flags/EnableWm
static const char *g_settingsId_dropBoxWidgetEnabled = "Flags/EnableDropBoxWidget"; static const char *g_settingsId_dropBoxWidgetEnabled = "Flags/EnableDropBoxWidget";
static const char *g_settingsId_currentLanguage = "Localization/Language"; static const char *g_settingsId_currentLanguage = "Localization/Language";
static const char *g_settingsId_lameAlgoQuality = "AdvancedOptions/LAME/AlgorithmQuality"; static const char *g_settingsId_lameAlgoQuality = "AdvancedOptions/LAME/AlgorithmQuality";
static const char *g_settingsId_lameChannelMode = "AdvancedOptions/LAME/ChannelMode";
static const char *g_settingsId_bitrateManagementEnabled = "AdvancedOptions/BitrateManagement/Enabled"; static const char *g_settingsId_bitrateManagementEnabled = "AdvancedOptions/BitrateManagement/Enabled";
static const char *g_settingsId_bitrateManagementMinRate = "AdvancedOptions/BitrateManagement/MinRate"; static const char *g_settingsId_bitrateManagementMinRate = "AdvancedOptions/BitrateManagement/MinRate";
static const char *g_settingsId_bitrateManagementMaxRate = "AdvancedOptions/BitrateManagement/MaxRate"; static const char *g_settingsId_bitrateManagementMaxRate = "AdvancedOptions/BitrateManagement/MaxRate";
static const char *g_settingsId_samplingRate = "AdvancedOptions/Common/Resampling";
static const char *g_settingsId_neroAACEnable2Pass = "AdvancedOptions/NeroAAC/Enable2Pass";
static const char *g_settingsId_neroAACProfile = "AdvancedOptions/NeroAAC/ForceProfile";
//Macros //Macros
#define MAKE_OPTION1(OPT,DEF) \ #define MAKE_OPTION1(OPT,DEF) \
@ -70,6 +74,7 @@ void SettingsModel::OPT(bool value) { m_settings->setValue(g_settingsId_##OPT, v
//LUT //LUT
const int SettingsModel::mp3Bitrates[15] = {32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, -1}; const int SettingsModel::mp3Bitrates[15] = {32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, -1};
const int SettingsModel::samplingRates[7] = {16000, 22050, 24000, 32000, 44100, 48000, -1};
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
// Constructor // Constructor
@ -191,6 +196,10 @@ MAKE_OPTION3(wmaDecoderNotificationsEnabled, true)
MAKE_OPTION3(dropBoxWidgetEnabled, true) MAKE_OPTION3(dropBoxWidgetEnabled, true)
MAKE_OPTION2(currentLanguage, defaultLanguage()); MAKE_OPTION2(currentLanguage, defaultLanguage());
MAKE_OPTION1(lameAlgoQuality, 3) MAKE_OPTION1(lameAlgoQuality, 3)
MAKE_OPTION1(lameChannelMode, 0);
MAKE_OPTION3(bitrateManagementEnabled, false) MAKE_OPTION3(bitrateManagementEnabled, false)
MAKE_OPTION1(bitrateManagementMinRate, 32) MAKE_OPTION1(bitrateManagementMinRate, 32)
MAKE_OPTION1(bitrateManagementMaxRate, 500) MAKE_OPTION1(bitrateManagementMaxRate, 500)
MAKE_OPTION1(samplingRate, 0)
MAKE_OPTION3(neroAACEnable2Pass, true)
MAKE_OPTION1(neroAACProfile, 0)

View File

@ -60,6 +60,7 @@ public:
//Consts //Consts
static const int mp3Bitrates[15]; static const int mp3Bitrates[15];
static const int samplingRates[7];
//Getters & setters //Getters & setters
MAKE_OPTION_DEC1(licenseAccepted); MAKE_OPTION_DEC1(licenseAccepted);
@ -80,10 +81,13 @@ public:
MAKE_OPTION_DEC3(dropBoxWidgetEnabled) MAKE_OPTION_DEC3(dropBoxWidgetEnabled)
MAKE_OPTION_DEC2(currentLanguage); MAKE_OPTION_DEC2(currentLanguage);
MAKE_OPTION_DEC1(lameAlgoQuality); MAKE_OPTION_DEC1(lameAlgoQuality);
MAKE_OPTION_DEC1(lameChannelMode);
MAKE_OPTION_DEC3(bitrateManagementEnabled); MAKE_OPTION_DEC3(bitrateManagementEnabled);
MAKE_OPTION_DEC1(bitrateManagementMinRate); MAKE_OPTION_DEC1(bitrateManagementMinRate);
MAKE_OPTION_DEC1(bitrateManagementMaxRate); MAKE_OPTION_DEC1(bitrateManagementMaxRate);
MAKE_OPTION_DEC1(samplingRate)
MAKE_OPTION_DEC3(neroAACEnable2Pass)
MAKE_OPTION_DEC1(neroAACProfile)
//Misc //Misc
void validate(void); void validate(void);