fftools/ffplay: remove SDL_AUDIO_ALSA_SET_BUFFER_SIZE

SDL_AUDIO_ALSA_SET_BUFFER_SIZE was removed in SDL 2.0.9:
https://github.com/libsdl-org/SDL/commit/c591429542f429aac4979fb6ae9bbe024491a1f

Signed-off-by: Hunter Kvalevog <hunter@kvog.sh>
This commit is contained in:
Hunter Kvalevog
2026-07-03 12:49:56 +00:00
committed by James Almer
parent 2e9dfa0214
commit 6d72600a30
-6
View File
@@ -3883,12 +3883,6 @@ int main(int argc, char **argv)
flags = SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER;
if (audio_disable)
flags &= ~SDL_INIT_AUDIO;
else {
/* Try to work around an occasional ALSA buffer underflow issue when the
* period size is NPOT due to ALSA resampling by forcing the buffer size. */
if (!SDL_getenv("SDL_AUDIO_ALSA_SET_BUFFER_SIZE"))
SDL_setenv("SDL_AUDIO_ALSA_SET_BUFFER_SIZE","1", 1);
}
if (display_disable)
flags &= ~SDL_INIT_VIDEO;
if (SDL_Init (flags)) {