Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.

  • Loading branch information
slouken committed Jul 10, 2006
1 parent 38ab2fa commit 466d3a402970e1ffe989ce2a075926d4880f0d82

File 97 of 693 in 466d3a4

@@ -29,18 +29,19 @@
/* Hidden "this" pointer for the video functions */
#define _THIS SDL_AudioDevice *this

struct SDL_PrivateAudioData {
/* The file descriptor for the audio device */
int audio_fd;
struct SDL_PrivateAudioData
{
/* The file descriptor for the audio device */
int audio_fd;

/* The parent process id, to detect when application quits */
pid_t parent;
/* The parent process id, to detect when application quits */
pid_t parent;

/* Raw mixing buffer */
Uint8 *mixbuf;
int mixlen;
/* Raw mixing buffer */
Uint8 *mixbuf;
int mixlen;
};
#define FUDGE_TICKS 10 /* The scheduler overhead ticks per frame */
#define FUDGE_TICKS 10 /* The scheduler overhead ticks per frame */

/* Old variable names */
#define audio_fd (this->hidden->audio_fd)
@@ -51,3 +52,4 @@ struct SDL_PrivateAudioData {
#define next_frame (this->hidden->next_frame)

#endif /* _SDL_dspaudio_h */
/* vi: set ts=4 sw=4 expandtab: */

0 comments on commit 466d3a4

Please sign in to comment.