Results 1 - 10 of 10 results out of about 6839 pages. (2.44 seconds)
- SDL_OpenAudioDevice . . . 4 matches
- ...
= SDL_OpenAudioDevice =
Use this function to open a specific audio device.
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
SDL_AudioDeviceID SDL_OpenAudioDevice(const ch...
- SDL_AudioSpec . . . 6 matches
- ...;
want.callback = MyAudioCallback; // you wrote this function elsewhere.
dev = SDL_OpenAudioDevice(NULL, 0, &want, &have, SDL_AUDIO_ALLOW_FORMAT_CHANGE);
}}}
== Remarks ==
This ...
- SDL_CloseAudioDevice . . . 4 matches
- ...== Function Parameters ==
||'''dev'''||an audio device previously opened with [[SDL_OpenAudioDevice]]()||
== Code Examples ==
{{{#!highlight cpp
extern SDL_AudioSpec want;
SDL_Au...
- SDL_OpenAudio . . . 3 matches
- ...is a legacy means of opening the audio device. New programs might want to use [[SDL_OpenAudioDevice]]() instead.
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
int SDL_Op...
- SDL_GetNumAudioDevices . . . 3 matches
- ...e on the Internet, but it will still allow a specific host to be specified in [[SDL_OpenAudioDevice]]().
In many common cases, when this function returns a value <= 0, it can sti...
- SDL_PauseAudioDevice . . . 1 match
- ... pause_on)
}}}
== Function Parameters ==
||'''dev'''||a device opened by [[SDL_OpenAudioDevice]]()||
||'''pause_on'''||non-zero to pause, 0 to unpause||
== Code Examples ==
...
- SDL_LockAudioDevice . . . 1 match
- ...ipulated by these functions protects the audio callback function specified in [[SDL_OpenAudioDevice]](). During a [[SDL_LockAudioDevice]]()/[[SDL_UnlockAudioDevice]]() pair, you ...
- SDL_GetAudioDeviceStatus . . . 1 match
- ...n Parameters ==
||'''dev'''||the ID of an audio device previously opened with [[SDL_OpenAudioDevice]]()||
== Return Value ==
Returns the [[SDL_AudioStatus]] of the specified audi...
- CategoryAudio . . . 1 match
- ...##master-page:CategoryTemplate
##master-date:Unknown-Date
#format wiki
#language en
= Audio Device Management and Audio Playback =
'''Include File(s):''' [[http://hg.libsdl.org/...
- CategoryAPI . . . 1 match
- ...##master-page:CategoryTemplate
##master-date:Unknown-Date
#format wiki
#language en
= SDL 2.0 API by Name =
<<TableOfContents()>>
== Hints ==
<<FullSearchCached(category:Catego...
