author | Ryan C. Gordon |
Tue, 17 Oct 2006 09:15:21 +0000 | |
changeset 2049 | 5f6550e5184f |
parent 1895 | c121d94672cb |
child 2859 | 99210400e8b9 |
permissions | -rw-r--r-- |
icculus@1532 | 1 |
/* |
icculus@1532 | 2 |
SDL - Simple DirectMedia Layer |
icculus@1532 | 3 |
Copyright (C) 1997-2006 Sam Lantinga |
icculus@1532 | 4 |
|
icculus@1532 | 5 |
This library is free software; you can redistribute it and/or |
icculus@1532 | 6 |
modify it under the terms of the GNU Lesser General Public |
icculus@1532 | 7 |
License as published by the Free Software Foundation; either |
icculus@1532 | 8 |
version 2.1 of the License, or (at your option) any later version. |
icculus@1532 | 9 |
|
icculus@1532 | 10 |
This library is distributed in the hope that it will be useful, |
icculus@1532 | 11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
icculus@1532 | 12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
icculus@1532 | 13 |
Lesser General Public License for more details. |
icculus@1532 | 14 |
|
icculus@1532 | 15 |
You should have received a copy of the GNU Lesser General Public |
icculus@1532 | 16 |
License along with this library; if not, write to the Free Software |
icculus@1532 | 17 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
icculus@1532 | 18 |
|
icculus@1532 | 19 |
Sam Lantinga |
icculus@1532 | 20 |
slouken@libsdl.org |
icculus@1532 | 21 |
*/ |
icculus@1532 | 22 |
#include "SDL_config.h" |
icculus@1532 | 23 |
|
icculus@1532 | 24 |
#ifndef _SDL_dummyaudio_h |
icculus@1532 | 25 |
#define _SDL_dummyaudio_h |
icculus@1532 | 26 |
|
icculus@1532 | 27 |
#include "../SDL_sysaudio.h" |
icculus@1532 | 28 |
|
icculus@2049 | 29 |
/* Hidden "this" pointer for the audio functions */ |
icculus@1532 | 30 |
#define _THIS SDL_AudioDevice *this |
icculus@1532 | 31 |
|
slouken@1895 | 32 |
struct SDL_PrivateAudioData |
slouken@1895 | 33 |
{ |
slouken@1895 | 34 |
/* The file descriptor for the audio device */ |
slouken@1895 | 35 |
Uint8 *mixbuf; |
slouken@1895 | 36 |
Uint32 mixlen; |
slouken@1895 | 37 |
Uint32 write_delay; |
slouken@1895 | 38 |
Uint32 initial_calls; |
icculus@1532 | 39 |
}; |
icculus@1532 | 40 |
|
icculus@1532 | 41 |
#endif /* _SDL_dummyaudio_h */ |
slouken@1895 | 42 |
/* vi: set ts=4 sw=4 expandtab: */ |