Definition at line 75 of file loopwavequeue.c.
76{
78
79
81
82
85 return (1);
86 }
87
88 if (argc > 1) {
90 } else {
92 }
93
97 }
98
100
101#if HAVE_SIGNAL_H
102
103#ifdef SIGHUP
104 signal(SIGHUP,
poked);
105#endif
106 signal(SIGINT,
poked);
107#ifdef SIGQUIT
108 signal(SIGQUIT,
poked);
109#endif
110 signal(SIGTERM,
poked);
111#endif
112
113
118 }
119
120
121
122
124
126
127
128
129
130
131#ifdef __EMSCRIPTEN__
132 emscripten_set_main_loop(
loop, 0, 1);
133#else
135 {
137
139 }
140#endif
141
142
146 return 0;
147}
#define SDL_LoadWAV(file, spec, audio_buf, audio_len)
#define SDL_LogSetPriority
@ SDL_LOG_CATEGORY_APPLICATION
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.