|
SDL_Libretro
SDL3-power libretro frontend.
|
SDL_libretro - audio subsystem. More...
Go to the source code of this file.
Macros | |
| #define | SDL_LIBRETRO_AUDIO_DEFAULT_LATENCY_MS 100 |
| The threshold of audio latency in milliseconds. | |
| #define | SDL_LIBRETRO_AUDIO_DEFAULT_SAMPLE_RATE 48000 |
| Fallback rate used when a core reports no audio sample rate (<= 0). | |
| #define | SDL_LIBRETRO_AUDIO_DRC_MAX_DELTA 0.005 |
| The amount to push the DRC to correct audio pitch. | |
| #define | SDL_LIBRETRO_MIC_DEFAULT_RATE 44100 |
| The default sample rate for recording microphone input. | |
Functions | |
| void | SDL_Libretro_SetAudioLatency (SDL_Libretro *lr, unsigned latencyMs) |
| Set the desired minimum audio latency for the audio stream. | |
SDL_libretro - audio subsystem.
Uses SDL3's push model. The device stream is opened with a NULL callback and samples are pushed directly via SDL_PutAudioStreamData().
Definition in file SDL_libretro_audio.h.
| #define SDL_LIBRETRO_AUDIO_DEFAULT_LATENCY_MS 100 |
The threshold of audio latency in milliseconds.
Definition at line 19 of file SDL_libretro_audio.h.
| #define SDL_LIBRETRO_AUDIO_DRC_MAX_DELTA 0.005 |
The amount to push the DRC to correct audio pitch.
The default is good for general use smoothing. Increase when expecting stutter.
Definition at line 37 of file SDL_libretro_audio.h.
| #define SDL_LIBRETRO_MIC_DEFAULT_RATE 44100 |
The default sample rate for recording microphone input.
Definition at line 352 of file SDL_libretro_audio.h.