| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#ifndef H_FAACCONFIG |
| 14 |
#define H_FAACCONFIG |
| 15 |
|
| 16 |
#include <smooth.h> |
| 17 |
#include <boca.h> |
| 18 |
|
| 19 |
using namespace smooth; |
| 20 |
using namespace smooth::GUI; |
| 21 |
|
| 22 |
using namespace BoCA; |
| 23 |
|
| 24 |
namespace BoCA |
| 25 |
{ |
| 26 |
class ConfigureFAAC : public ConfigLayer |
| 27 |
{ |
| 28 |
private: |
| 29 |
TabWidget *tabwidget; |
| 30 |
|
| 31 |
Layer *layer_format; |
| 32 |
|
| 33 |
GroupBox *group_version; |
| 34 |
OptionBox *option_version_mpeg2; |
| 35 |
OptionBox *option_version_mpeg4; |
| 36 |
|
| 37 |
GroupBox *group_id3v2; |
| 38 |
CheckBox *check_id3v2; |
| 39 |
Text *text_note; |
| 40 |
Text *text_id3v2; |
| 41 |
|
| 42 |
GroupBox *group_mp4; |
| 43 |
OptionBox *option_mp4; |
| 44 |
OptionBox *option_aac; |
| 45 |
|
| 46 |
GroupBox *group_extension; |
| 47 |
OptionBox *option_extension_m4a; |
| 48 |
OptionBox *option_extension_m4b; |
| 49 |
OptionBox *option_extension_m4r; |
| 50 |
OptionBox *option_extension_mp4; |
| 51 |
|
| 52 |
Layer *layer_quality; |
| 53 |
|
| 54 |
GroupBox *group_bitrate; |
| 55 |
Slider *slider_bitrate; |
| 56 |
OptionBox *option_bitrate; |
| 57 |
EditBox *edit_bitrate; |
| 58 |
Text *text_bitrate_kbps; |
| 59 |
Slider *slider_quality; |
| 60 |
OptionBox *option_quality; |
| 61 |
EditBox *edit_quality; |
| 62 |
Text *text_quality_percent; |
| 63 |
|
| 64 |
GroupBox *group_js; |
| 65 |
CheckBox *check_js; |
| 66 |
|
| 67 |
GroupBox *group_tns; |
| 68 |
CheckBox *check_tns; |
| 69 |
|
| 70 |
GroupBox *group_bandwidth; |
| 71 |
Text *text_bandwidth; |
| 72 |
EditBox *edit_bandwidth; |
| 73 |
|
| 74 |
Int mpegVersion; |
| 75 |
Int bitrate; |
| 76 |
Bool allowjs; |
| 77 |
Bool usetns; |
| 78 |
Int setQuality; |
| 79 |
Int aacQuality; |
| 80 |
Bool allowID3; |
| 81 |
Int fileFormat; |
| 82 |
Int fileExtension; |
| 83 |
slots: |
| 84 |
Void SetBitrate(); |
| 85 |
Void SetBitrateByEditBox(); |
| 86 |
Void SetQuality(); |
| 87 |
Void SetQualityByEditBox(); |
| 88 |
Void SetFileFormat(); |
| 89 |
Void ToggleBitrateQuality(); |
| 90 |
public: |
| 91 |
static const String ConfigID; |
| 92 |
|
| 93 |
ConfigureFAAC(); |
| 94 |
~ConfigureFAAC(); |
| 95 |
|
| 96 |
Int SaveSettings(); |
| 97 |
}; |
| 98 |
}; |
| 99 |
|
| 100 |
#endif |