summaryrefslogtreecommitdiff
path: root/sys/wasapi/gstwasapiutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/wasapi/gstwasapiutil.h')
-rw-r--r--sys/wasapi/gstwasapiutil.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/wasapi/gstwasapiutil.h b/sys/wasapi/gstwasapiutil.h
index 8cd5d3240..70f241980 100644
--- a/sys/wasapi/gstwasapiutil.h
+++ b/sys/wasapi/gstwasapiutil.h
@@ -29,6 +29,7 @@
#include <audioclient.h>
#include "gstaudioclient3.h"
+#include "gstmmdeviceenumerator.h"
/* Static Caps shared between source, sink, and device provider */
#define GST_WASAPI_STATIC_CAPS "audio/x-raw, " \
@@ -92,10 +93,11 @@ gint gst_wasapi_erole_to_device_role (gint erole);
gchar *gst_wasapi_util_hresult_to_string (HRESULT hr);
-gboolean gst_wasapi_util_get_devices (GstObject * element, gboolean active,
- GList ** devices);
+gboolean gst_wasapi_util_get_devices (GstMMDeviceEnumerator * enumerator,
+ gboolean active,
+ GList ** devices);
-gboolean gst_wasapi_util_get_device (GstElement * self,
+gboolean gst_wasapi_util_get_device (GstMMDeviceEnumerator * enumerator,
gint data_flow, gint role, const wchar_t * device_strid,
IMMDevice ** ret_device);