summaryrefslogtreecommitdiff
path: root/audio/xamp/patches/patch-ay
blob: 67c6eff7aaeb9dd4b9c83e907630a732a4ac0d17 (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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
$NetBSD: patch-ay,v 1.1 2004/05/11 12:18:37 wiz Exp $

--- readmex.h.orig	1998-02-10 22:33:22.000000000 +0100
+++ readmex.h
@@ -1,140 +1,140 @@
-#define strimx "
-WHAT IS IT?
-
-Xamp is a version of amp plus a gui. Read the regular README on info about
-amp. It was developed on an cx86 running Linux, so it should be pretty
-portable. It doesn't take much cpu time; if your computer can run regular
-amp, it'll probably run Xamp.
-
-INSTALLING
-
-You'll need Qt (+include files), libX11 (+include files), a properly set up
-X server somewhere and a properly configured sound driver.
-
-$ tar xzvvf xamp-0.8.tgz
-# be carefull here. You need to enter the xamp-0.8/ directory again otherwise 
-# you will get just the command line amp.
-$ cd xamp-0.8/xamp-0.8/
-$ ./configure
-
-should take care of most configuration issues. I don't know autoconf very
-well, but I think what I added to amp's script works pretty well. Then just
-run make and you will get a binary called xamp. Just execute that and have
-fun with Xamp.
-
-DEBIAN USERS INSTALL (i386 only)
-    
-You can get a deb packet insted of the source or binary to install on a
-debian linux system. The install from here it is really easy. All you need
-is that you have installed qt properly and then just as root type
-
-# dpkg -i xamp_0.8-1_i386.deb
-    
-the filaname can be different, depends on the Xamp version.
-    
-REDHAT USERS INSTALL (i386 only)
-	
-There is a rpm of the package as well. For those with RedHat just get the
-xamp binary in the rpm format and execute as root
-
-# rpm -ivh xamp-0.8-1.i386.rpm
-
-the filaname can be different, depends on the Xamp version.
-
-RUNNING
-
-The program pretty much speaks for itself. There is a playlist from which
-the player plays. you can specify the initial list on the commandline (eg.
-$ xamp ~/mp3s/TypeO*mp3) or start empty. Click on the 'LOAD' button to get
-to the playlist editor. You can add new files, delete them and move items
-around by dragging. You can save the playlist to a flat textfile (one line
-per item) and you can load such files. Doubleclick on an item to make the
-player play that item.
-
-The main screen has regular previous, play/pause, stop and next
-buttons. there's also a shuffle and repeat togglebutton. You'll figure it out.
-
-There is an option added now that you can put a background in
-/usr/X11R6/lib/X11/xamp/ as a file back.bmp (i did tested it just with
-bitmaps, but it should work with pixmaps as well..). The one and only
-problem is that the filename must be in that exact path with name back.bmp
-	  
-SHORTCUTS
-    
-In new versions of Xamp there are shortcuts for all the main functions that
-Xamp supports.
-    
-Here are the shortcuts and the description for the command
-    Z - Rewind
-    X - Play/Pause
-    C - Stop
-    V - Fast forward
-    N - Mono/Stero adjustments
-    M - Mute
-    S - Shuffle mode playing
-    R - Repeat the song
-    UpKey - Incrase volume
-    DownKey - Decrase volume
-    LeftKey - Balance to left
-    RightKey - Balance to right
-    A - About dialog
-    ALT + Q - Quit
-
-    Double click on the song label opens the id3 tag editor
-    
-There are some in the playlist editor, but those shortcuts characters are
-underlined and you can connect with ALT+key.
-
-PROBLEMS
-
-if it dumps core, please send a patch or a detailed bugreport (don't attach
-the mp3!). this version seems pretty solid compared to the last, but I know
-I'm not a very good tester.
-
-xamp will refuse to play some weird (but compliant, according to the
-standard) mp3's, like ones that change bitrates halfway through or strange
-bitrates I couldn't reproduce here. the problem is that the function that
-gets called after you pull the slider needs to calculate where it should go
-in the mp3 stream. there are some magic values involved that calculation. I
-can't find out those values for weird bitrates I can't reproduce here, and I
-don't even want to think about the bitrate-switching streams.
-
-it was either keeping tabs on offsets while playing (slow & irritating,
-especially when seeking forward) or an ugly seeking function with a lot of
-magic values. the ugly function does seem to work for most cases, so I stuck
-with it. _if_ you should encounter an mp3 xamp won't play, email me.
-(andrej.bagon@uni-mb.si)
-
-BUGS
-
-I know about that quit bug. If somebody does solve that thing please
-just report to me how I should get rid of it.. Thanx.
-The playlist Length thing.. I dont know for now how to implement that length
-of the playlist, so I consider it a bug.
-Other bug reports are welcome!
-As a ID3 TAG editor was added.. you might encounter some problems.. not
-yet fully tested.
-    
-TODO
-
- - stuff warnings (and errors?) into a messagebox
- - multiple selection in the playlist editor
- - some sort of bouncy fft or osciloscope graph.
-
-THANKS TO
-
- - Tomislav & the rest for making amp.
- - Adnans for BeMP, providing an idea on how to go about this.
- - Lodewijk Voge for his port in the Xwindow system.
- - the makers of the underlying system (dlgedit, Qt, etc down to the silicon)
-
-Legal addendum to the amp README:
-
-everything in this package that is not in the original amp package this
-version is based on, is released under the GNU General Public License. you
-make a derivative version -> you release the source, you mark your changes and
-you give credit where credit is due. clearly.
-
-Lodewijk V\"oge <lvoge@cs.vu.nl> and
-for Xamp Andrej Bagon <andrej.bagon@uni-mb.si>
+#define strimx "\
+WHAT IS IT?\n\
+\n\
+Xamp is a version of amp plus a gui. Read the regular README on info about\n\
+amp. It was developed on an cx86 running Linux, so it should be pretty\n\
+portable. It doesn't take much cpu time; if your computer can run regular\n\
+amp, it'll probably run Xamp.\n\
+\n\
+INSTALLING\n\
+\n\
+You'll need Qt (+include files), libX11 (+include files), a properly set up\n\
+X server somewhere and a properly configured sound driver.\n\
+\n\
+$ tar xzvvf xamp-0.8.tgz\n\
+# be carefull here. You need to enter the xamp-0.8/ directory again otherwise \n\
+# you will get just the command line amp.\n\
+$ cd xamp-0.8/xamp-0.8/\n\
+$ ./configure\n\
+\n\
+should take care of most configuration issues. I don't know autoconf very\n\
+well, but I think what I added to amp's script works pretty well. Then just\n\
+run make and you will get a binary called xamp. Just execute that and have\n\
+fun with Xamp.\n\
+\n\
+DEBIAN USERS INSTALL (i386 only)\n\
+    \n\
+You can get a deb packet insted of the source or binary to install on a\n\
+debian linux system. The install from here it is really easy. All you need\n\
+is that you have installed qt properly and then just as root type\n\
+\n\
+# dpkg -i xamp_0.8-1_i386.deb\n\
+    \n\
+the filaname can be different, depends on the Xamp version.\n\
+    \n\
+REDHAT USERS INSTALL (i386 only)\n\
+	\n\
+There is a rpm of the package as well. For those with RedHat just get the\n\
+xamp binary in the rpm format and execute as root\n\
+\n\
+# rpm -ivh xamp-0.8-1.i386.rpm\n\
+\n\
+the filaname can be different, depends on the Xamp version.\n\
+\n\
+RUNNING\n\
+\n\
+The program pretty much speaks for itself. There is a playlist from which\n\
+the player plays. you can specify the initial list on the commandline (eg.\n\
+$ xamp ~/mp3s/TypeO*mp3) or start empty. Click on the 'LOAD' button to get\n\
+to the playlist editor. You can add new files, delete them and move items\n\
+around by dragging. You can save the playlist to a flat textfile (one line\n\
+per item) and you can load such files. Doubleclick on an item to make the\n\
+player play that item.\n\
+\n\
+The main screen has regular previous, play/pause, stop and next\n\
+buttons. there's also a shuffle and repeat togglebutton. You'll figure it out.\n\
+\n\
+There is an option added now that you can put a background in\n\
+/usr/X11R6/lib/X11/xamp/ as a file back.bmp (i did tested it just with\n\
+bitmaps, but it should work with pixmaps as well..). The one and only\n\
+problem is that the filename must be in that exact path with name back.bmp\n\
+	  \n\
+SHORTCUTS\n\
+    \n\
+In new versions of Xamp there are shortcuts for all the main functions that\n\
+Xamp supports.\n\
+    \n\
+Here are the shortcuts and the description for the command\n\
+    Z - Rewind\n\
+    X - Play/Pause\n\
+    C - Stop\n\
+    V - Fast forward\n\
+    N - Mono/Stero adjustments\n\
+    M - Mute\n\
+    S - Shuffle mode playing\n\
+    R - Repeat the song\n\
+    UpKey - Incrase volume\n\
+    DownKey - Decrase volume\n\
+    LeftKey - Balance to left\n\
+    RightKey - Balance to right\n\
+    A - About dialog\n\
+    ALT + Q - Quit\n\
+\n\
+    Double click on the song label opens the id3 tag editor\n\
+    \n\
+There are some in the playlist editor, but those shortcuts characters are\n\
+underlined and you can connect with ALT+key.\n\
+\n\
+PROBLEMS\n\
+\n\
+if it dumps core, please send a patch or a detailed bugreport (don't attach\n\
+the mp3!). this version seems pretty solid compared to the last, but I know\n\
+I'm not a very good tester.\n\
+\n\
+xamp will refuse to play some weird (but compliant, according to the\n\
+standard) mp3's, like ones that change bitrates halfway through or strange\n\
+bitrates I couldn't reproduce here. the problem is that the function that\n\
+gets called after you pull the slider needs to calculate where it should go\n\
+in the mp3 stream. there are some magic values involved that calculation. I\n\
+can't find out those values for weird bitrates I can't reproduce here, and I\n\
+don't even want to think about the bitrate-switching streams.\n\
+\n\
+it was either keeping tabs on offsets while playing (slow & irritating,\n\
+especially when seeking forward) or an ugly seeking function with a lot of\n\
+magic values. the ugly function does seem to work for most cases, so I stuck\n\
+with it. _if_ you should encounter an mp3 xamp won't play, email me.\n\
+(andrej.bagon@uni-mb.si)\n\
+\n\
+BUGS\n\
+\n\
+I know about that quit bug. If somebody does solve that thing please\n\
+just report to me how I should get rid of it.. Thanx.\n\
+The playlist Length thing.. I dont know for now how to implement that length\n\
+of the playlist, so I consider it a bug.\n\
+Other bug reports are welcome!\n\
+As a ID3 TAG editor was added.. you might encounter some problems.. not\n\
+yet fully tested.\n\
+    \n\
+TODO\n\
+\n\
+ - stuff warnings (and errors?) into a messagebox\n\
+ - multiple selection in the playlist editor\n\
+ - some sort of bouncy fft or osciloscope graph.\n\
+\n\
+THANKS TO\n\
+\n\
+ - Tomislav & the rest for making amp.\n\
+ - Adnans for BeMP, providing an idea on how to go about this.\n\
+ - Lodewijk Voge for his port in the Xwindow system.\n\
+ - the makers of the underlying system (dlgedit, Qt, etc down to the silicon)\n\
+\n\
+Legal addendum to the amp README:\n\
+\n\
+everything in this package that is not in the original amp package this\n\
+version is based on, is released under the GNU General Public License. you\n\
+make a derivative version -> you release the source, you mark your changes and\n\
+you give credit where credit is due. clearly.\n\
+\n\
+Lodewijk V\"oge <lvoge@cs.vu.nl> and\n\
+for Xamp Andrej Bagon <andrej.bagon@uni-mb.si>\n\
 "