src/audio/paudio/SDL_paudio.h
branchSDL-1.3
changeset 1662 782fd950bd46
parent 1402 d910939febfa
child 2049 5f6550e5184f
child 3797 9dc81c6acaf5
     1.1 --- a/src/audio/paudio/SDL_paudio.h	Sun May 21 17:27:13 2006 +0000
     1.2 +++ b/src/audio/paudio/SDL_paudio.h	Sun May 28 13:04:16 2006 +0000
     1.3 @@ -29,22 +29,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 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 -	/* 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 audio_fd		(this->hidden->audio_fd)
    1.39 @@ -55,3 +56,4 @@
    1.40  #define next_frame		(this->hidden->next_frame)
    1.41  
    1.42  #endif /* _SDL_paudaudio_h */
    1.43 +/* vi: set ts=4 sw=4 expandtab: */