Skip to content

Commit be2b3dc

Browse files
committed
aplay/sdl_mixer: rev changes committed by mistake
Reverted unintentionally committed changes in in the previous commit.
1 parent b26ca14 commit be2b3dc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/audio/capture/sdl_mixer.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ static void audio_cap_sdl_mixer_probe(struct device_info **available_devices, in
8080

8181
static void sdl_mixer_audio_callback(int chan, void *stream, int len, void *udata)
8282
{
83-
// printf("%d\n", len);
8483
UNUSED(chan);
8584
struct state_sdl_mixer_capture *s = udata;
8685

@@ -210,7 +209,7 @@ static void * audio_cap_sdl_mixer_init(struct module *parent, const char *cfg)
210209
}
211210

212211
if( Mix_OpenAudio(SDL_MIXER_SAMPLE_RATE, audio_format,
213-
s->audio.ch_count, 1024 ) == -1 ) {
212+
s->audio.ch_count, 4096 ) == -1 ) {
214213
log_msg(LOG_LEVEL_ERROR, MOD_NAME "error initalizing sound: %s\n", Mix_GetError());
215214
goto error;
216215
}

0 commit comments

Comments
 (0)