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

libobs: Fix PulseAudio monitoring when device is set to default

When the monitoring device is set to default, this bit of code was
appending the no-longer-needed ".monitor" to the device name.

Fixes #8877
Jonathan Bennett 2 лет назад
Родитель
Сommit
4052775399
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      libobs/audio-monitoring/pulse/pulseaudio-wrapper.c

+ 0 - 1
libobs/audio-monitoring/pulse/pulseaudio-wrapper.c

@@ -54,7 +54,6 @@ void get_default_id(char **id)
 	} else {
 		*id = bzalloc(strlen(pdo->default_sink_name) + 9);
 		strcat(*id, pdo->default_sink_name);
-		strcat(*id, ".monitor");
 		bfree(pdo->default_sink_name);
 	}