瀏覽代碼

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 年之前
父節點
當前提交
cfc65650f9
共有 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);
 	}