#include <stdio.h>#include "SDL_main.h"#include "SDL_types.h"#include "SDL_error.h"#include "SDL_rwops.h"#include "SDL_byteorder.h"#include "begin_code.h"#include "close_code.h"Include dependency graph for SDL_audio.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| struct | SDL_AudioCVT |
| struct | SDL_AudioSpec |
Defines | |
| #define | AUDIO_U8 0x0008 |
| #define | AUDIO_S8 0x8008 |
| #define | AUDIO_U16LSB 0x0010 |
| #define | AUDIO_S16LSB 0x8010 |
| #define | AUDIO_U16MSB 0x1010 |
| #define | AUDIO_S16MSB 0x9010 |
| #define | AUDIO_U16 AUDIO_U16LSB |
| #define | AUDIO_S16 AUDIO_S16LSB |
| #define | AUDIO_U16SYS AUDIO_U16MSB |
| #define | AUDIO_S16SYS AUDIO_S16MSB |
| #define | SDL_LoadWAV(file, spec, audio_buf, audio_len) SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len) |
| #define | SDL_MIX_MAXVOLUME 128 |
Typedefs | |
| typedef SDL_AudioCVT | SDL_AudioCVT |
Enumerations | |
| enum | SDL_audiostatus { SDL_AUDIO_STOPPED = 0, SDL_AUDIO_PLAYING, SDL_AUDIO_PAUSED } |
Functions | |
| DECLSPEC int SDLCALL | SDL_AudioInit (const char *driver_name) |
| DECLSPEC void SDLCALL | SDL_AudioQuit (void) |
| DECLSPEC char *SDLCALL | SDL_AudioDriverName (char *namebuf, int maxlen) |
| DECLSPEC int SDLCALL | SDL_OpenAudio (SDL_AudioSpec *desired, SDL_AudioSpec *obtained) |
| DECLSPEC SDL_audiostatus SDLCALL | SDL_GetAudioStatus (void) |
| DECLSPEC void SDLCALL | SDL_PauseAudio (int pause_on) |
| DECLSPEC SDL_AudioSpec *SDLCALL | SDL_LoadWAV_RW (SDL_RWops *src, int freesrc, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len) |
| DECLSPEC void SDLCALL | SDL_FreeWAV (Uint8 *audio_buf) |
| DECLSPEC int SDLCALL | SDL_BuildAudioCVT (SDL_AudioCVT *cvt, Uint16 src_format, Uint8 src_channels, int src_rate, Uint16 dst_format, Uint8 dst_channels, int dst_rate) |
| DECLSPEC int SDLCALL | SDL_ConvertAudio (SDL_AudioCVT *cvt) |
| DECLSPEC void SDLCALL | SDL_MixAudio (Uint8 *dst, const Uint8 *src, Uint32 len, int volume) |
| DECLSPEC void SDLCALL | SDL_LockAudio (void) |
| DECLSPEC void SDLCALL | SDL_UnlockAudio (void) |
| DECLSPEC void SDLCALL | SDL_CloseAudio (void) |
|
|
Definition at line 74 of file SDL_audio.h. |
|
|
Definition at line 70 of file SDL_audio.h. |
|
|
Definition at line 72 of file SDL_audio.h. |
|
|
Definition at line 82 of file SDL_audio.h. |
|
|
Definition at line 68 of file SDL_audio.h. |
|
|
Definition at line 73 of file SDL_audio.h. |
|
|
Definition at line 69 of file SDL_audio.h. |
|
|
Definition at line 71 of file SDL_audio.h. |
|
|
Definition at line 81 of file SDL_audio.h. |
|
|
Definition at line 67 of file SDL_audio.h. |
|
|
Definition at line 199 of file SDL_audio.h. Referenced by WAVFile::WAVFile(). |
|
|
Definition at line 235 of file SDL_audio.h. Referenced by WAVFile::setVolume(). |
|
|
|
|
|
Definition at line 163 of file SDL_audio.h. |
|
||||||||||||
|
Referenced by Startup::Startup(). |
|
|
|
|
|
|
|
||||||||||||||||||||||||||||||||
|
|
|
|
Referenced by WAVFile::stop(). |
|
|
|
|
|
Referenced by WAVFile::~WAVFile(). |
|
|
|
|
||||||||||||||||||||||||
|
|
|
|
Referenced by WAVFile::lock(). |
|
||||||||||||||||||||
|
Referenced by WAVFile::fill(). |
|
||||||||||||
|
Referenced by WAVFile::open(). |
|
|
Referenced by WAVFile::pause(), and WAVFile::resume(). |
|
|
Referenced by WAVFile::unlock(). |
1.3.4