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

Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.

  • Loading branch information
icculus committed Oct 17, 2006
1 parent 8c0ae5e commit bf035a46b4476e083d539009f63e993ed2d33403

File 54 of 69 in bf035a4

@@ -26,17 +26,14 @@

#include "../SDL_sysaudio.h"

/* Hidden "this" pointer for the video functions */
/* Hidden "this" pointer for the audio functions */
#define _THIS SDL_AudioDevice *this

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;

/* Raw mixing buffer */
Uint8 *mixbuf;
int mixlen;
@@ -47,13 +44,5 @@ struct SDL_PrivateAudioData
};
#define FUDGE_TICKS 10 /* The scheduler overhead ticks per frame */

/* Old variable names */
#define audio_fd (this->hidden->audio_fd)
#define parent (this->hidden->parent)
#define mixbuf (this->hidden->mixbuf)
#define mixlen (this->hidden->mixlen)
#define frame_ticks (this->hidden->frame_ticks)
#define next_frame (this->hidden->next_frame)

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

0 comments on commit bf035a4

Please sign in to comment.