Skip to content

Commit f660857

Browse files
committed
sdl3_mixer: improve the channel warn
- use LOG_LEVEL_WARNING - reformulate the message a bit better
1 parent 4820b4d commit f660857

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/audio/capture/sdl_mixer.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author Martin Pulec <[email protected]>
44
*/
55
/*
6-
* Copyright (c) 2011-2023 CESNET, z. s. p. o.
6+
* Copyright (c) 2011-2025 CESNET
77
* All rights reserved.
88
*
99
* Redistribution and use in source and binary forms, with or without
@@ -216,9 +216,9 @@ adjust_ch_count(struct state_sdl_mixer_capture *s)
216216
Mix_QuerySpec(&frequency, &format, &channels);
217217
if (audio_capture_channels > 0 &&
218218
channels != (int) audio_capture_channels) {
219-
MSG(INFO,
220-
"%d channel capture seem to be broken with SDL3 "
221-
"mixer - capture %d and reduce drop second later\n",
219+
MSG(WARNING,
220+
"%d channel capture seem to be broken with SDL3 mixer - "
221+
"capturing %d channels and dropping the excessive later.\n",
222222
s->audio.ch_count, channels);
223223
s->audio.ch_count = channels;
224224
}

0 commit comments

Comments
 (0)