mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-22 04:38:30 +00:00
audio: Added a postmix callback to logical devices.
You can see it in action in testaudio by mousing over a logical device; it will show a visualizer for the current PCM (whatever is currently being recorded on a capture device, or whatever is being mixed for output on playback devices). Fixes #8122.
This commit is contained in:
parent
7207bdce5d
commit
3a992af446
7 changed files with 316 additions and 9 deletions
|
@ -929,3 +929,4 @@
|
|||
#define SDL_SetWindowFocusable SDL_SetWindowFocusable_REAL
|
||||
#define SDL_GetAudioStreamFrequencyRatio SDL_GetAudioStreamFrequencyRatio_REAL
|
||||
#define SDL_SetAudioStreamFrequencyRatio SDL_SetAudioStreamFrequencyRatio_REAL
|
||||
#define SDL_SetAudioPostmixCallback SDL_SetAudioPostmixCallback_REAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue