Browse Source

libobs: Add devices_match to null monitor

This adds the devices_match function to null monitor to fix linking
issues on linux when pulse audio is disabled.
Fixes #12810

Signed-off-by: pkv <[email protected]>
pkv 3 weeks ago
parent
commit
4ea2074eed
1 changed files with 7 additions and 0 deletions
  1. 7 0
      libobs/audio-monitoring/null/null-audio-monitoring.c

+ 7 - 0
libobs/audio-monitoring/null/null-audio-monitoring.c

@@ -26,3 +26,10 @@ void audio_monitor_destroy(struct audio_monitor *monitor)
 {
 	UNUSED_PARAMETER(monitor);
 }
+
+bool devices_match(const char *id1, const char *id2)
+{
+	UNUSED_PARAMETER(id1);
+	UNUSED_PARAMETER(id2);
+	return false;
+}