diff src/sap/sapfile.h @ 142:c0b31cf2c7cd trunk

[svn] Atari XL SAP. This compiles anything but cleanly, but somehow still works. No one will notice anyway, though. What percentage of the population listens to Atari XL music? I don't have an answer to that, but I'd guess that Audacious' SAP plugin will be used by approximately 2 people.
author asheldon
date Sun, 29 Oct 2006 01:08:30 -0700
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/sap/sapfile.h	Sun Oct 29 01:08:30 2006 -0700
@@ -0,0 +1,39 @@
+/*
+ * SAP xmms plug-in. 
+ * Copyright 2002/2003 by Michal 'Mikey' Szwaczko <mikey@scene.pl>
+ *
+ * SAP Library ver. 1.56 by Adam Bienias
+ *
+ * This is free software. You can modify it and distribute it under the terms
+ * of the GNU General Public License. The verbatim text of the license can 
+ * be found in file named COPYING in the source directory.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 
+ * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ *
+ */
+
+char buffer[0x10000]; 
+
+char author[2048];
+char name[2048];
+char date[2048];
+char type[20]; /* type in ascii */
+char type_h; /* type as seen in SAP header; */
+
+long filesize;
+
+int headersize;    
+int is_stereo;
+int fastplay;
+int plr_address;
+int msx_address;
+int ini_address;
+int songs;
+int defsong; 
+int times_per_frame; /* times per frame */