src/audio/sun/SDL_sunaudio.h
branchSDL-1.3
changeset 1662 782fd950bd46
parent 1402 d910939febfa
child 1982 3b4ce57c6215
     1.1 --- a/src/audio/sun/SDL_sunaudio.h	Sun May 21 17:27:13 2006 +0000
     1.2 +++ b/src/audio/sun/SDL_sunaudio.h	Sun May 28 13:04:16 2006 +0000
     1.3 @@ -29,17 +29,18 @@
     1.4  /* Hidden "this" pointer for the video functions */
     1.5  #define _THIS	SDL_AudioDevice *this
     1.6  
     1.7 -struct SDL_PrivateAudioData {
     1.8 -	/* The file descriptor for the audio device */
     1.9 -	int audio_fd;
    1.10 +struct SDL_PrivateAudioData
    1.11 +{
    1.12 +    /* The file descriptor for the audio device */
    1.13 +    int audio_fd;
    1.14  
    1.15 -	Uint16 audio_fmt;        /* The app audio format */
    1.16 -	Uint8 *mixbuf;           /* The app mixing buffer */
    1.17 -	int ulaw_only;           /* Flag -- does hardware only output U-law? */
    1.18 -	Uint8 *ulaw_buf;         /* The U-law mixing buffer */
    1.19 -	Sint32 written;          /* The number of samples written */
    1.20 -	int fragsize;            /* The audio fragment size in samples */
    1.21 -	int frequency;           /* The audio frequency in KHz */
    1.22 +    Uint16 audio_fmt;           /* The app audio format */
    1.23 +    Uint8 *mixbuf;              /* The app mixing buffer */
    1.24 +    int ulaw_only;              /* Flag -- does hardware only output U-law? */
    1.25 +    Uint8 *ulaw_buf;            /* The U-law mixing buffer */
    1.26 +    Sint32 written;             /* The number of samples written */
    1.27 +    int fragsize;               /* The audio fragment size in samples */
    1.28 +    int frequency;              /* The audio frequency in KHz */
    1.29  };
    1.30  
    1.31  /* Old variable names */
    1.32 @@ -53,3 +54,4 @@
    1.33  #define frequency		(this->hidden->frequency)
    1.34  
    1.35  #endif /* _SDL_lowaudio_h */
    1.36 +/* vi: set ts=4 sw=4 expandtab: */