src/audio/arts/SDL_artsaudio.h
branchSDL-1.3
changeset 1662 782fd950bd46
parent 1402 d910939febfa
child 2049 5f6550e5184f
child 3797 9dc81c6acaf5
     1.1 --- a/src/audio/arts/SDL_artsaudio.h	Sun May 21 17:27:13 2006 +0000
     1.2 +++ b/src/audio/arts/SDL_artsaudio.h	Sun May 28 13:04:16 2006 +0000
     1.3 @@ -31,22 +31,23 @@
     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 stream descriptor for the audio device */
     1.9 -	arts_stream_t stream;
    1.10 +struct SDL_PrivateAudioData
    1.11 +{
    1.12 +    /* The stream descriptor for the audio device */
    1.13 +    arts_stream_t stream;
    1.14  
    1.15 -	/* The parent process id, to detect when application quits */
    1.16 -	pid_t parent;
    1.17 +    /* The parent process id, to detect when application quits */
    1.18 +    pid_t parent;
    1.19  
    1.20 -	/* Raw mixing buffer */
    1.21 -	Uint8 *mixbuf;
    1.22 -	int    mixlen;
    1.23 +    /* Raw mixing buffer */
    1.24 +    Uint8 *mixbuf;
    1.25 +    int mixlen;
    1.26  
    1.27 -	/* Support for audio timing using a timer, in addition to select() */
    1.28 -	float frame_ticks;
    1.29 -	float next_frame;
    1.30 +    /* Support for audio timing using a timer, in addition to select() */
    1.31 +    float frame_ticks;
    1.32 +    float next_frame;
    1.33  };
    1.34 -#define FUDGE_TICKS	10	/* The scheduler overhead ticks per frame */
    1.35 +#define FUDGE_TICKS	10      /* The scheduler overhead ticks per frame */
    1.36  
    1.37  /* Old variable names */
    1.38  #define stream			(this->hidden->stream)
    1.39 @@ -57,4 +58,4 @@
    1.40  #define next_frame		(this->hidden->next_frame)
    1.41  
    1.42  #endif /* _SDL_artscaudio_h */
    1.43 -
    1.44 +/* vi: set ts=4 sw=4 expandtab: */