slouken@68
|
1 |
/*
|
slouken@68
|
2 |
SDL - Simple DirectMedia Layer
|
slouken@68
|
3 |
Copyright (C) 1997, 1998, 1999, 2000, 2001 Sam Lantinga
|
slouken@68
|
4 |
|
slouken@68
|
5 |
This library is free software; you can redistribute it and/or
|
slouken@68
|
6 |
modify it under the terms of the GNU Library General Public
|
slouken@68
|
7 |
License as published by the Free Software Foundation; either
|
slouken@68
|
8 |
version 2 of the License, or (at your option) any later version.
|
slouken@68
|
9 |
|
slouken@68
|
10 |
This library is distributed in the hope that it will be useful,
|
slouken@68
|
11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
slouken@68
|
12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
slouken@68
|
13 |
Library General Public License for more details.
|
slouken@68
|
14 |
|
slouken@68
|
15 |
You should have received a copy of the GNU Library General Public
|
slouken@68
|
16 |
License along with this library; if not, write to the Free
|
slouken@68
|
17 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
slouken@68
|
18 |
|
slouken@68
|
19 |
Sam Lantinga
|
slouken@68
|
20 |
slouken@devolution.com
|
slouken@68
|
21 |
*/
|
slouken@68
|
22 |
|
slouken@68
|
23 |
#ifdef SAVE_RCSID
|
slouken@68
|
24 |
static char rcsid =
|
slouken@68
|
25 |
"@(#) $Id$";
|
slouken@68
|
26 |
#endif
|
slouken@68
|
27 |
|
slouken@68
|
28 |
#ifndef _SDL_diskaudio_h
|
slouken@68
|
29 |
#define _SDL_diskaudio_h
|
slouken@68
|
30 |
|
slouken@68
|
31 |
#include "SDL_sysaudio.h"
|
slouken@68
|
32 |
|
slouken@68
|
33 |
/* Hidden "this" pointer for the video functions */
|
slouken@68
|
34 |
#define _THIS SDL_AudioDevice *this
|
slouken@68
|
35 |
|
slouken@68
|
36 |
struct SDL_PrivateAudioData {
|
slouken@68
|
37 |
/* The file descriptor for the audio device */
|
slouken@68
|
38 |
int audio_fd;
|
slouken@68
|
39 |
Uint8 *mixbuf;
|
slouken@68
|
40 |
Uint32 mixlen;
|
slouken@68
|
41 |
Uint32 write_delay;
|
slouken@68
|
42 |
};
|
slouken@68
|
43 |
|
slouken@68
|
44 |
#endif /* _SDL_diskaudio_h */
|