blob: 415147ae1dbb280c911a97897b6b82ea650ef94b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
|
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>base_K3bExternalEncoderEditWidget</class>
<author>Sebastian Trueg</author>
<widget class="TQWidget">
<property name="name">
<cstring>base_K3bExternalEncoderEditWidget</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>529</width>
<height>514</height>
</rect>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupBox3</cstring>
</property>
<property name="title">
<string>General</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KLineEdit" row="1" column="1">
<property name="name">
<cstring>m_editExtension</cstring>
</property>
</widget>
<widget class="KLineEdit" row="1" column="0">
<property name="name">
<cstring>m_editName</cstring>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Name:</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="1">
<property name="name">
<cstring>textLabel3</cstring>
</property>
<property name="text">
<string>Filename extension:</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupBox2</cstring>
</property>
<property name="title">
<string>Command</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KActiveLabel">
<property name="name">
<cstring>kActiveLabel2</cstring>
</property>
<property name="text">
<string><p><b>Command</b><br>
Please insert the command used to encode the audio data. The command has to read raw little endian (see <em>Swap Byte Order</em>) 16bit stereo audio frames from stdin.
<p>The following strings will be replaced by K3b:<br>
<b>%f</b> - The filename of the resulting file. This is where the command has to write its output to.<br>
<em>The following refer to metadata stored for example in the ID3 tag of am mp3 file (Be aware that these values might be empty).</em><br>
<b>%t</b> - Title<br>
<b>%a</b> - Artist<br>
<b>%c</b> - Comment<br>
<b>%n</b> - Track number<br>
<b>%m</b> - Album Title<br>
<b>%r</b> - Album Artist<br>
<b>%x</b> - Album comment<br>
<b>%y</b> - Release Year</string>
</property>
</widget>
<widget class="KLineEdit">
<property name="name">
<cstring>m_editCommand</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</vbox>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupBox4</cstring>
</property>
<property name="title">
<string>Options</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>m_checkSwapByteOrder</cstring>
</property>
<property name="text">
<string>Swap &Byte Order</string>
</property>
<property name="toolTip" stdset="0">
<string>Swap the byte order of the input data</string>
</property>
<property name="whatsThis" stdset="0">
<string><p> If this option is checked K3b will swap the byte order of the input data. Thus, the command has to read big endian audio frames.
<p>If the resulting audio file sounds bad it is highly likely that the byte order is wrong and this option has to be checked.</string>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>m_checkWriteWaveHeader</cstring>
</property>
<property name="text">
<string>Write W&ave Header</string>
</property>
<property name="toolTip" stdset="0">
<string>Create a wave header for the input data</string>
</property>
<property name="whatsThis" stdset="0">
<string><p>If this option is checked K3b will write a wave header. This is useful in case the encoder application cannot read plain raw audio data.</string>
</property>
</widget>
</vbox>
</widget>
</vbox>
</widget>
<tabstops>
<tabstop>m_editName</tabstop>
<tabstop>m_editExtension</tabstop>
<tabstop>m_editCommand</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>klineedit.h</includehint>
<includehint>klineedit.h</includehint>
<includehint>kactivelabel.h</includehint>
<includehint>klineedit.h</includehint>
</includehints>
</UI>
|