SDL
2.0
|
Go to the source code of this file.
Functions | |
static void | loop () |
int | main (int argc, char **argv) |
Variables | |
static SDL_Window * | window = NULL |
static SDL_Renderer * | renderer = NULL |
static SDL_AudioSpec | spec |
static SDL_AudioDeviceID | devid_in = 0 |
static SDL_AudioDeviceID | devid_out = 0 |
|
static |
Definition at line 27 of file testaudiocapture.c.
References SDL_MouseButtonEvent::button, SDL_Event::button, devid_in, devid_out, e, SDL_Event::key, SDL_KeyboardEvent::keysym, SDL_AUDIO_PLAYING, SDL_CloseAudioDevice, SDL_DequeueAudio, SDL_DestroyRenderer, SDL_DestroyWindow, SDL_FALSE, SDL_GetAudioDeviceStatus, SDL_KEYDOWN, SDL_Log, SDL_MOUSEBUTTONDOWN, SDL_MOUSEBUTTONUP, SDL_PauseAudioDevice, SDL_PollEvent, SDL_QueueAudio, SDL_QUIT, SDL_Quit, SDL_RenderClear, SDL_RenderPresent, SDL_SetRenderDrawColor, SDL_TRUE, SDLK_ESCAPE, SDL_Keysym::sym, and SDL_Event::type.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 90 of file testaudiocapture.c.
References AUDIO_F32SYS, SDL_AudioSpec::callback, SDL_AudioSpec::channels, devid_in, devid_out, SDL_AudioSpec::format, SDL_AudioSpec::freq, i, loop(), NULL, SDL_AudioSpec::samples, SDL_AUDIO_ALLOW_ANY_CHANGE, SDL_CreateRenderer, SDL_CreateWindow, SDL_Delay, SDL_FALSE, SDL_GetAudioDeviceName, SDL_GetCurrentAudioDriver, SDL_GetError, SDL_GetNumAudioDevices, SDL_Init, SDL_INIT_AUDIO, SDL_INIT_VIDEO, SDL_Log, SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, SDL_LogError, SDL_LogSetPriority, SDL_OpenAudioDevice, SDL_Quit, SDL_RenderClear, SDL_RenderPresent, SDL_SetRenderDrawColor, SDL_TRUE, SDL_WINDOWPOS_CENTERED, and SDL_zero.
|
static |
Definition at line 23 of file testaudiocapture.c.
|
static |
Definition at line 24 of file testaudiocapture.c.
|
static |
Definition at line 21 of file testaudiocapture.c.
Referenced by _Redraw(), IsSDLWindowEventPending(), LoadSprite(), loop(), main(), Redraw(), SDL_CreateRenderer(), SDL_CreateSoftwareRenderer(), SDL_CreateTexture(), SDL_CreateWindowTexture(), SDL_DestroyTexture(), SDL_GL_BindTexture(), SDL_GL_UnbindTexture(), SDL_LockTexture(), SDL_RendererEventWatch(), SDL_SetTextureAlphaMod(), SDL_SetTextureBlendMode(), SDL_SetTextureColorMod(), SDL_UnlockTexture(), SDL_UpdateTexture(), SDL_UpdateYUVTexture(), SW_CreateRendererForSurface(), unifont_cleanup(), and unifont_load_texture().
|
static |
Definition at line 22 of file testaudiocapture.c.
|
static |
Definition at line 20 of file testaudiocapture.c.
Referenced by _createMouseSuiteTestWindow(), _createVideoSuiteTestWindow(), FullscreenTo(), keyboard_getKeyboardFocus(), loop(), main(), mouse_getMouseFocus(), mouse_warpMouseInWindow(), SDL_CreateRenderer(), SDL_CreateWindow(), SDL_CreateWindowFrom(), SDL_GetFocusWindow(), SDL_GetWindowFromID(), SDL_GL_CreateContext(), SDL_GL_MakeCurrent(), SDL_PromptAssertion(), SDL_RendererEventWatch(), SDL_RestoreMousePosition(), SDL_SetKeyboardFocus(), SDL_SetMouseFocus(), SDL_ShowSimpleMessageBox(), SDL_StartTextInput(), SDL_StopTextInput(), SDL_UpdateWindowGrab(), SDLTest_CommonEvent(), ShouldUseTextureFramebuffer(), SW_RenderPresent(), syswm_getWindowWMInfo(), video_createWindowVariousFlags(), video_createWindowVariousPositions(), video_createWindowVariousSizes(), video_getSetWindowData(), video_getSetWindowGrab(), video_getSetWindowMaximumSize(), video_getSetWindowMinimumSize(), video_getSetWindowPosition(), video_getSetWindowSize(), video_getWindowBrightness(), video_getWindowDisplayMode(), video_getWindowDisplayModeNegative(), video_getWindowFlags(), video_getWindowGammaRamp(), video_getWindowId(), video_getWindowPixelFormat(), WatchGameController(), WatchJoystick(), and WINRT_ProcessWindowSizeChange().