src/audio/bsd/SDL_bsdaudio.h
changeset 7191 75360622e65f
parent 6885 700f1b25f77f
child 8093 b43765095a6f
equal deleted inserted replaced
7190:11612d544fcd 7191:75360622e65f
    23 #ifndef _SDL_bsdaudio_h
    23 #ifndef _SDL_bsdaudio_h
    24 #define _SDL_bsdaudio_h
    24 #define _SDL_bsdaudio_h
    25 
    25 
    26 #include "../SDL_sysaudio.h"
    26 #include "../SDL_sysaudio.h"
    27 
    27 
    28 #define _THIS	SDL_AudioDevice *this
    28 #define _THIS   SDL_AudioDevice *this
    29 
    29 
    30 struct SDL_PrivateAudioData
    30 struct SDL_PrivateAudioData
    31 {
    31 {
    32     /* The file descriptor for the audio device */
    32     /* The file descriptor for the audio device */
    33     int audio_fd;
    33     int audio_fd;
    42     /* Support for audio timing using a timer, in addition to select() */
    42     /* Support for audio timing using a timer, in addition to select() */
    43     float frame_ticks;
    43     float frame_ticks;
    44     float next_frame;
    44     float next_frame;
    45 };
    45 };
    46 
    46 
    47 #define FUDGE_TICKS	10      /* The scheduler overhead ticks per frame */
    47 #define FUDGE_TICKS 10      /* The scheduler overhead ticks per frame */
    48 
    48 
    49 #endif /* _SDL_bsdaudio_h */
    49 #endif /* _SDL_bsdaudio_h */
    50 
    50 
    51 /* vi: set ts=4 sw=4 expandtab: */
    51 /* vi: set ts=4 sw=4 expandtab: */