Video | Events | OpenGL | Audio | CD-ROM | Threads | Time
# Audio Function List
Introduction | Function List | Function Reference | Examples
`extern int SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpec *obtained);` extern void SDL_PauseAudio(int pause_on); extern SDL_AudioSpec *SDL_LoadWAV(const char *file, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len); extern void SDL_FreeWAV(Uint8 *audio_buf); extern int SDL_BuildAudioCVT(SDL_AudioCVT *cvt, Uint16 src_format, Uint8 src_channels, int src_rate, Uint16 dst_format, Uint8 dst_channels, int dst_rate); extern int SDL_ConvertAudio(SDL_AudioCVT *cvt); extern void SDL_MixAudio(Uint8 *dst, Uint8 *src, Uint32 len); extern void SDL_LockAudio(void); extern void SDL_UnlockAudio(void); extern void SDL_CloseAudio(void);