102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
Loading...
Searching...
No Matches
hooks_private.h
Go to the documentation of this file.
1#ifndef DTTR_AUDIO_HOOKS_PRIVATE_H
2#define DTTR_AUDIO_HOOKS_PRIVATE_H
3
4#include <SDL3/SDL.h>
5#include <dttr_mods.h>
6
7// Integrates audio init with recovery from SDL device changes.
9// Integrates audio cleanup with recovery from SDL device changes.
11// Integrates SDL audio device events with MSS driver recovery.
13
14#endif // DTTR_AUDIO_HOOKS_PRIVATE_H
bool dttr_audio_init(const DTTR_Mods_Context *ctx)
Definition hooks.c:125
void dttr_audio_handle_device_event(const SDL_Event *event)
Definition hooks.c:111
void dttr_audio_cleanup(const DTTR_Mods_Context *ctx)
Definition hooks.c:162
void void * ctx
void void DWORD HANDLE event
union SDL_Event SDL_Event
Definition dttr_mods.h:19