How rubenmullangi77/sdl3-audio-player works
This repository is a minimal SDL3 windowed application named audio-player. Its current workflow initializes SDL video, creates a window, polls for quit events, and then destroys the window and shuts SDL down. Despite the product name, the sampled application code does not open an audio device, load audio, or play sound. The graph separates the application entry point from the SDL API areas it calls; it does not imply implementation details inside SDL, whose runtime sources are not present in the tree.
Main entry points: main.c Application loop · SDL_init.h SDL lifecycle · SDL_video.h Window API · SDL_events.h Event polling
Components 5
Application
- Application loop
src/main.c
SDL APIs
- SDL lifecycle
extern/SDL3/include/SDL3/SDL_init.h - Window API
extern/SDL3/include/SDL3/SDL_video.h - Event polling
extern/SDL3/include/SDL3/SDL_events.h
Other components
- User
Connections 4
- User → Application loop: starts
- Application loop → SDL lifecycle: initializes, quits
src/main.c - Application loop → Window API: creates, destroys
src/main.c - Application loop → Event polling: polls events
src/main.c