SDL_AudioDeviceConnected

Use this function to see if an audio device is currently connected.

Syntax

int SDL_AudioDeviceConnected(SDL_AudioDeviceID dev)

Function Parameters

dev

the ID of an audio device previously opened with SDL_OpenAudioDevice()

Should SDL_AudioDeviceID be specifically mentioned like a struct would be although it is a typedef? It has no page.

Return Value

Returns 1 if the audio device is still functioning, 0 if not, or a negative error code on failure;call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryAudio

SDL_AudioDeviceConnected (last edited 2010-10-12 00:38:44 by SheenaSmith)

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