| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#ifndef H_COREAUDIOCONFIG |
| 14 |
#define H_COREAUDIOCONFIG |
| 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 ConfigureCoreAudio : public ConfigLayer |
| 27 |
{ |
| 28 |
private: |
| 29 |
TabWidget *tabwidget; |
| 30 |
|
| 31 |
Layer *layer_format; |
| 32 |
|
| 33 |
GroupBox *group_id3v2; |
| 34 |
CheckBox *check_id3v2; |
| 35 |
Text *text_note; |
| 36 |
Text *text_id3v2; |
| 37 |
|
| 38 |
GroupBox *group_mp4; |
| 39 |
OptionBox *option_mp4; |
| 40 |
OptionBox *option_aac; |
| 41 |
|
| 42 |
GroupBox *group_extension; |
| 43 |
OptionBox *option_extension_m4a; |
| 44 |
OptionBox *option_extension_m4b; |
| 45 |
OptionBox *option_extension_m4r; |
| 46 |
OptionBox *option_extension_mp4; |
| 47 |
|
| 48 |
Layer *layer_quality; |
| 49 |
|
| 50 |
GroupBox *group_codec; |
| 51 |
Text *text_codec; |
| 52 |
ComboBox *combo_codec; |
| 53 |
|
| 54 |
GroupBox *group_bitrate; |
| 55 |
Text *text_bitrate; |
| 56 |
Slider *slider_bitrate; |
| 57 |
EditBox *edit_bitrate; |
| 58 |
Text *text_bitrate_kbps; |
| 59 |
|
| 60 |
Array<UnsignedInt> codecs; |
| 61 |
Array<Int> bitrates; |
| 62 |
|
| 63 |
Int bitrate; |
| 64 |
Bool allowID3; |
| 65 |
Int fileFormat; |
| 66 |
Int fileExtension; |
| 67 |
slots: |
| 68 |
Void SetCodec(); |
| 69 |
Void SetBitrate(); |
| 70 |
Void SetBitrateByEditBox(); |
| 71 |
Void SetFileFormat(); |
| 72 |
public: |
| 73 |
static const String ConfigID; |
| 74 |
|
| 75 |
ConfigureCoreAudio(); |
| 76 |
~ConfigureCoreAudio(); |
| 77 |
|
| 78 |
Int SaveSettings(); |
| 79 |
}; |
| 80 |
}; |
| 81 |
|
| 82 |
#endif |