aplay/sdl_mixer: rev changes committed by mistake

Reverted unintentionally committed changes in in the previous commit.
This commit is contained in:
Martin Pulec
2025-02-26 09:01:17 +01:00
parent b26ca14cb1
commit be2b3dcb59

View File

@@ -80,7 +80,6 @@ static void audio_cap_sdl_mixer_probe(struct device_info **available_devices, in
static void sdl_mixer_audio_callback(int chan, void *stream, int len, void *udata)
{
// printf("%d\n", len);
UNUSED(chan);
struct state_sdl_mixer_capture *s = udata;
@@ -210,7 +209,7 @@ static void * audio_cap_sdl_mixer_init(struct module *parent, const char *cfg)
}
if( Mix_OpenAudio(SDL_MIXER_SAMPLE_RATE, audio_format,
s->audio.ch_count, 1024 ) == -1 ) {
s->audio.ch_count, 4096 ) == -1 ) {
log_msg(LOG_LEVEL_ERROR, MOD_NAME "error initalizing sound: %s\n", Mix_GetError());
goto error;
}