diff src/audio/mint/SDL_mintaudio_dma8.h @ 1662:782fd950bd46 SDL-1.3

Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API. WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid. The code is now run through a consistent indent format: indent -i4 -nut -nsc -br -ce The headers are being converted to automatically generate doxygen documentation.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 28 May 2006 13:04:16 +0000
parents d910939febfa
children 99210400e8b9
line wrap: on
line diff
--- a/src/audio/mint/SDL_mintaudio_dma8.h	Sun May 21 17:27:13 2006 +0000
+++ b/src/audio/mint/SDL_mintaudio_dma8.h	Sun May 28 13:04:16 2006 +0000
@@ -31,55 +31,57 @@
 #define _SDL_mintaudio_dma8_h
 
 #define DMAAUDIO_IO_BASE (0xffff8900)
-struct DMAAUDIO_IO_S {
-	unsigned char int_ctrl;
-	unsigned char control;
+struct DMAAUDIO_IO_S
+{
+    unsigned char int_ctrl;
+    unsigned char control;
 
-	unsigned char dummy1;
-	unsigned char start_high;
-	unsigned char dummy2;
-	unsigned char start_mid;
-	unsigned char dummy3;
-	unsigned char start_low;
+    unsigned char dummy1;
+    unsigned char start_high;
+    unsigned char dummy2;
+    unsigned char start_mid;
+    unsigned char dummy3;
+    unsigned char start_low;
 
-	unsigned char dummy4;
-	unsigned char cur_high;
-	unsigned char dummy5;
-	unsigned char cur_mid;
-	unsigned char dummy6;
-	unsigned char cur_low;
+    unsigned char dummy4;
+    unsigned char cur_high;
+    unsigned char dummy5;
+    unsigned char cur_mid;
+    unsigned char dummy6;
+    unsigned char cur_low;
 
-	unsigned char dummy7;
-	unsigned char end_high;
-	unsigned char dummy8;
-	unsigned char end_mid;
-	unsigned char dummy9;
-	unsigned char end_low;
+    unsigned char dummy7;
+    unsigned char end_high;
+    unsigned char dummy8;
+    unsigned char end_mid;
+    unsigned char dummy9;
+    unsigned char end_low;
 
-	unsigned char dummy10[12];
+    unsigned char dummy10[12];
 
-	unsigned char track_ctrl; /* CODEC only */
-	unsigned char sound_ctrl;
-	unsigned short sound_data;
-	unsigned short sound_mask;
+    unsigned char track_ctrl;   /* CODEC only */
+    unsigned char sound_ctrl;
+    unsigned short sound_data;
+    unsigned short sound_mask;
 
-	unsigned char dummy11[10];
-	
-	unsigned short dev_ctrl;
-	unsigned short dest_ctrl;
-	unsigned short sync_div;
-	unsigned char track_rec;
-	unsigned char adderin_input;
-	unsigned char channel_input;
-	unsigned char channel_amplification;
-	unsigned char channel_reduction;
-	
-	unsigned char dummy12[6];
+    unsigned char dummy11[10];
 
-	unsigned char data_direction;
-	unsigned char dummy13;
-	unsigned char dev_data;
+    unsigned short dev_ctrl;
+    unsigned short dest_ctrl;
+    unsigned short sync_div;
+    unsigned char track_rec;
+    unsigned char adderin_input;
+    unsigned char channel_input;
+    unsigned char channel_amplification;
+    unsigned char channel_reduction;
+
+    unsigned char dummy12[6];
+
+    unsigned char data_direction;
+    unsigned char dummy13;
+    unsigned char dev_data;
 };
 #define DMAAUDIO_IO ((*(volatile struct DMAAUDIO_IO_S *)DMAAUDIO_IO_BASE))
 
 #endif /* _SDL_mintaudio_dma8_h */
+/* vi: set ts=4 sw=4 expandtab: */