|
Size: 647
Comment: create page, add content (incomplete)
|
Size: 730
Comment: correct typo
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 11: | Line 11: |
| SDL_audiostatus SDL_GetAudioStatus(void) | SDL_AudioStatus SDL_GetAudioStatus(void) |
| Line 14: | Line 14: |
| == Function Parameters == | == Return Value == Returns the current audio state, which can be one of: .SDL_AUDIO_STOPPED .SDL_AUDIO_PLAYING .SDL_AUDIO_PAUSED |
| Line 16: | Line 20: |
| ||'''param'''||Something passed to SDL_FunctionName|| == Return Value == Returns either SDL_AUDIO_STOPPED, SDL_AUDIO_PLAYING or SDL_AUDIO_PAUSED depending on the current audio state. |
<<Color2(green,Should there be a link to [[SDL_AudioStatus]] somewhere on here?)>> |
| Line 27: | Line 28: |
| You can add useful comments here | ''You can add useful comments here'' |
| Line 30: | Line 31: |
| .[[SDL_OtherFunction]] | .[[SDL_GetAudioDeviceStatus]] .[[SDL_PauseAudio]] ---- [[CategoryAPI]], [[CategoryAudio]] |
SDL_GetAudioStatus
Use this function to get the current audio state.
Syntax
SDL_AudioStatus SDL_GetAudioStatus(void)
Return Value
Returns the current audio state, which can be one of:
- SDL_AUDIO_STOPPED
- SDL_AUDIO_PLAYING
- SDL_AUDIO_PAUSED
green
Code Examples
You can add your code example here
Remarks
You can add useful comments here
