Просмотр исходного кода

linux-pulseaudio: Fix bad channels message format

Dimitris Papaioannou 4 дней назад
Родитель
Сommit
9251ea5374
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      plugins/linux-pulseaudio/pulse-input.c

+ 1 - 3
plugins/linux-pulseaudio/pulse-input.c

@@ -292,9 +292,7 @@ static void pulse_source_info(pa_context *c, const pa_source_info *i, int eol, v
 	if (pulse_channels_to_obs_speakers(channels) == SPEAKERS_UNKNOWN) {
 		channels = 2;
 
-		blog(LOG_INFO,
-		     "%c channels not supported by OBS,"
-		     "using %c instead for recording",
+		blog(LOG_INFO, "%" PRIu8 " channels not supported by OBS, using %" PRIu8 " instead for recording",
 		     i->sample_spec.channels, channels);
 	}