summaryrefslogtreecommitdiff
path: root/ext/alsa/gstalsadeviceprobe.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/alsa/gstalsadeviceprobe.h')
-rw-r--r--ext/alsa/gstalsadeviceprobe.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/ext/alsa/gstalsadeviceprobe.h b/ext/alsa/gstalsadeviceprobe.h
new file mode 100644
index 000000000..3ad207658
--- /dev/null
+++ b/ext/alsa/gstalsadeviceprobe.h
@@ -0,0 +1,43 @@
+/* Copyright (C) 2001 CodeFactory AB
+ * Copyright (C) 2001 Thomas Nyberg <thomas@codefactory.se>
+ * Copyright (C) 2001-2002 Andy Wingo <apwingo@eos.ncsu.edu>
+ * Copyright (C) 2003 Benjamin Otte <in7y118@public.uni-hamburg.de>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef __GST_ALSA_DEVICE_PROBE_H__
+#define __GST_ALSA_DEVICE_PROBE_H__
+
+#include "gstalsa.h"
+
+G_BEGIN_DECLS
+
+typedef struct _GstAlsaDeviceProbeData GstAlsaDeviceProbeData;
+
+struct _GstAlsaDeviceProbeData {
+ /* autodetected devices available */
+ GList *devices;
+};
+
+/* offset is the offset of the device probe data struct in the klass struct */
+void gst_alsa_type_add_device_property_probe_interface (GType type,
+ guint probe_data_offset,
+ guint device_prop_id);
+
+G_END_DECLS
+
+#endif /* __GST_ALSA_DEVICE_PROBE_H__ */
+