mirror of
https://github.com/encounter/SDL.git
synced 2025-12-19 01:46:22 +00:00
SDL_audiocvt: Respct the SDL_HINT_AUDIO_RESAMPLING_MODE hint
This implements using libsamplerate for the SDL_AudioCVT API. This library was already being used for audio streams when this hint is set.
This commit is contained in:
committed by
Sam Lantinga
parent
e8fdb861ef
commit
22461383c6
@@ -278,10 +278,7 @@ extern "C" {
|
||||
* If this hint isn't specified to a valid setting, or libsamplerate isn't
|
||||
* available, SDL will use the default, internal resampling algorithm.
|
||||
*
|
||||
* Note that this is currently only applicable to resampling audio that is
|
||||
* being written to a device for playback or audio being read from a device
|
||||
* for capture. SDL_AudioCVT always uses the default resampler (although this
|
||||
* might change for SDL 2.1).
|
||||
* As of SDL 2.26, SDL_AudioCVT now respects this hint.
|
||||
*
|
||||
* This hint is currently only checked at audio subsystem initialization.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user