Wiki Page Content

Results 1 - 19 of 19 results out of about 6839 pages. (3.58 seconds)

SDL_OpenAudioDevice . . . 11 matches
... = SDL_OpenAudioDevice = Use this function to open a specific audio device. <<TableOfContents()>> == Syntax == {{{#!highlight cpp SDL_AudioDeviceID SDL_OpenAudioDevice(const ch...

4.8k - rev: 26 (current) last modified: 2017-03-30 12:26:07

SDL_OpenAudio . . . 7 matches
... = SDL_OpenAudio = This function is a legacy means of opening the audio device. New programs might want to use [[SDL_OpenAudioDevice]]() instead. <<TableOfContents()>> == Synta...

2.8k - rev: 23 (current) last modified: 2018-10-01 10:02:23

SDL_AudioSpec . . . 6 matches
...096; want.callback = MyAudioCallback; // you wrote this function elsewhere. dev = SDL_OpenAudioDevice(NULL, 0, &want, &have, SDL_AUDIO_ALLOW_FORMAT_CHANGE); }}} == Remarks == Th...

4.4k - rev: 40 (current) last modified: 2019-05-15 14:14:25

SDL_CloseAudioDevice . . . 4 matches
...} == Function Parameters == ||'''dev'''||an audio device previously opened with [[SDL_OpenAudioDevice]]()|| == Code Examples == {{{#!highlight cpp extern SDL_AudioSpec want; SDL...

1.2k - rev: 6 (current) last modified: 2013-08-08 04:39:39

SDL_GetNumAudioDevices . . . 3 matches
...able 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 ...

2.1k - rev: 15 (current) last modified: 2016-05-14 22:17:17

SDL_CloseAudio . . . 3 matches
...o(void) }}} == Code Examples == {{{#!highlight cpp extern SDL_AudioSpec want; if (SDL_OpenAudio(&want, NULL) == 0) { SDL_PauseAudio(0); SDL_Delay(5000); // let audio cal...

0.8k - rev: 7 (current) last modified: 2013-08-07 23:10:11

SDL_GetAudioStatus . . . 2 matches
...SDL_AudioSpec desired; extern SDL_AudioSpec obtained; // device starts paused if (SDL_OpenAudio(&desired, &obtained) == 0) { printStatus(); // prints "paused" SDL_Paus...

1.5k - rev: 11 (current) last modified: 2013-08-10 18:59:47

SGRemarks . . . 1 match
... side of the text for monospace.<<BR>>{{{`member`}}} = `member`|| ||''Example'': [[SDL_OpenAudio]]()|| ~-[[#ToC|Return to Table of Contents]]-~ === Referencing Structure Data Fi...

9.0k - rev: 25 (current) last modified: 2011-12-15 22:32:39

SGFunctions . . . 1 match
...ther logical order (such as numerical).|| ||''Example'': [[SDL_HapticOpened]](), [[SDL_OpenAudio]]()|| ||<( |4 30%>''If'' the function __does not have a failure state__||''Note'':...

49.0k - rev: 72 (current) last modified: 2013-02-13 22:15:11

SDL_UnlockAudio . . . 1 match
...ght cpp SDL_UnlockAudioDevice(1); }}} and is only useful if you used the legacy [[SDL_OpenAudio]]() function. == Related Functions == .[[SDL_LockAudio]] .[[SDL_UnlockAudioDevi...

1.2k - rev: 8 (current) last modified: 2015-01-09 23:02:23

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 ...

1.8k - rev: 11 (current) last modified: 2015-12-19 22:22:30

SDL_PauseAudio . . . 1 match
...DL_PauseAudioDevice(1, pause_on); }}} and is only useful if you used the legacy [[SDL_OpenAudio]]() function. == Related Functions == .[[SDL_GetAudioStatus]] .[[SDL_PauseAudio...

0.9k - rev: 9 (current) last modified: 2013-08-12 05:39:33

SDL_MixAudio . . . 1 match
...} where '''format''' is the obtained format of the audio device from the legacy [[SDL_OpenAudio]]() function. == Related Functions == .[[SDL_MixAudioFormat]] ---- [[CategoryAP...

1.3k - rev: 17 (current) last modified: 2015-01-02 21:46:19

SDL_LockAudioDevice . . . 1 match
...manipulated by these functions protects the audio callback function specified in [[SDL_OpenAudioDevice]](). During a [[SDL_LockAudioDevice]]()/[[SDL_UnlockAudioDevice]]() pair, y...

2.4k - rev: 12 (current) last modified: 2015-01-09 23:01:58

SDL_LockAudio . . . 1 match
...light cpp SDL_LockAudioDevice(1); }}} and is only useful if you used the legacy [[SDL_OpenAudio]]() function. == Related Functions == .[[SDL_LockAudioDevice]] .[[SDL_UnlockAud...

1.2k - rev: 11 (current) last modified: 2015-01-09 23:01:38

SDL_GetAudioDeviceStatus . . . 1 match
...tion Parameters == ||'''dev'''||the ID of an audio device previously opened with [[SDL_OpenAudioDevice]]()|| == Return Value == Returns the [[SDL_AudioStatus]] of the specified a...

0.9k - rev: 7 (current) last modified: 2013-08-08 04:55:41

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/...

0.7k - rev: 13 (current) last modified: 2013-10-12 19:28:06

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...

0.5k - rev: 19 (current) last modified: 2013-08-10 05:04:50

APIContributionStyleGuide . . . 1 match
...urrounding the text for monospace. {{{`member`}}} = `member` . ''Example'': [[SDL_OpenAudio]]() * Create hyperlinks if you reference an existing function, enumeration, or s...

8.6k - rev: 39 (current) last modified: 2013-09-01 18:53:08

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit