|
SDL
2.0
|
Include dependency graph for loopwavequeue.c:Go to the source code of this file.
Functions | |
| static void | quit (int rc) |
| void | poked (int sig) |
| void | loop () |
| int | main (int argc, char *argv[]) |
Variables | |
| struct { | |
| SDL_AudioSpec spec | |
| Uint8 * sound | |
| Uint32 soundlen | |
| } | wave |
| static int | done = 0 |
Definition at line 52 of file loopwavequeue.c.
References done, SDL_AUDIO_PLAYING, SDL_GetAudioStatus, SDL_GetError, SDL_GetQueuedAudioSize, SDL_Log, SDL_QueueAudio, and wave.
Referenced by main().
Definition at line 75 of file loopwavequeue.c.
References done, sort_controllers::filename, loop(), NULL, poked(), quit(), SDL_AUDIO_PLAYING, SDL_CloseAudio, SDL_Delay, SDL_FreeWAV, SDL_GetAudioStatus, SDL_GetError, SDL_Init, SDL_INIT_AUDIO, SDL_LoadWAV, SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, SDL_LogError, SDL_LogSetPriority, SDL_OpenAudio, SDL_PauseAudio, SDL_Quit, SDL_strlcpy, and wave.
|
static |
Definition at line 44 of file loopwavequeue.c.
| Uint8* sound |
Definition at line 31 of file loopwavequeue.c.
| Uint32 soundlen |
Definition at line 32 of file loopwavequeue.c.
| SDL_AudioSpec spec |
Definition at line 30 of file loopwavequeue.c.