summaryrefslogtreecommitdiffstats
path: root/src/polypprobe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/polypprobe.h')
-rw-r--r--src/polypprobe.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/polypprobe.h b/src/polypprobe.h
index face7cb..ae936e9 100644
--- a/src/polypprobe.h
+++ b/src/polypprobe.h
@@ -1,23 +1,23 @@
-#ifndef __GST_POLYPPROBE_H__
-#define __GST_POLYPPROBE_H__
+#ifndef __GST_PULSEPROBE_H__
+#define __GST_PULSEPROBE_H__
/* $Id$ */
/***
- This file is part of gst-polyp.
+ This file is part of gst-pulse.
- gst-polyp is free software; you can redistribute it and/or modify
+ gst-pulse is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
License, or (at your option) any later version.
- gst-polyp is distributed in the hope that it will be useful, but
+ gst-pulse 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with gst-polyp; if not, write to the Free Software
+ License along with gst-pulse; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA.
***/
@@ -27,8 +27,8 @@
G_BEGIN_DECLS
#include <gst/interfaces/propertyprobe.h>
-#include <polyp/polypaudio.h>
-#include <polyp/thread-mainloop.h>
+#include <pulse/pulseaudio.h>
+#include <pulse/thread-mainloop.h>
typedef struct _GstPolypProbe GstPolypProbe;
@@ -47,17 +47,17 @@ struct _GstPolypProbe {
int operation_success;
};
-GstPolypProbe* gst_polypprobe_new(GObjectClass *klass, guint prop_id, const gchar *server, gboolean sinks, gboolean sources);
-void gst_polypprobe_free(GstPolypProbe* probe);
+GstPolypProbe* gst_pulseprobe_new(GObjectClass *klass, guint prop_id, const gchar *server, gboolean sinks, gboolean sources);
+void gst_pulseprobe_free(GstPolypProbe* probe);
-const GList* gst_polypprobe_get_properties(GstPolypProbe *probe);
-gboolean gst_polypprobe_needs_probe(GstPolypProbe *probe, guint prop_id, const GParamSpec *pspec);
-void gst_polypprobe_probe_property(GstPolypProbe *probe, guint prop_id, const GParamSpec *pspec);
-GValueArray *gst_polypprobe_get_values(GstPolypProbe *probe, guint prop_id, const GParamSpec *pspec);
+const GList* gst_pulseprobe_get_properties(GstPolypProbe *probe);
+gboolean gst_pulseprobe_needs_probe(GstPolypProbe *probe, guint prop_id, const GParamSpec *pspec);
+void gst_pulseprobe_probe_property(GstPolypProbe *probe, guint prop_id, const GParamSpec *pspec);
+GValueArray *gst_pulseprobe_get_values(GstPolypProbe *probe, guint prop_id, const GParamSpec *pspec);
-void gst_polypprobe_set_server(GstPolypProbe *c, const gchar *server);
+void gst_pulseprobe_set_server(GstPolypProbe *c, const gchar *server);
-#define GST_IMPLEMENT_POLYPPROBE_METHODS(Type, interface_as_function) \
+#define GST_IMPLEMENT_PULSEPROBE_METHODS(Type, interface_as_function) \
static const GList* \
interface_as_function ## _get_properties(GstPropertyProbe * probe) \
{ \
@@ -66,7 +66,7 @@ interface_as_function ## _get_properties(GstPropertyProbe * probe)
g_return_val_if_fail(this != NULL, NULL); \
g_return_val_if_fail(this->probe != NULL, NULL); \
\
- return gst_polypprobe_get_properties(this->probe); \
+ return gst_pulseprobe_get_properties(this->probe); \
} \
static gboolean \
interface_as_function ## _needs_probe(GstPropertyProbe *probe, guint prop_id, \
@@ -77,7 +77,7 @@ interface_as_function ## _needs_probe(GstPropertyProbe *probe, guint prop_id,
g_return_val_if_fail(this != NULL, FALSE); \
g_return_val_if_fail(this->probe != NULL, FALSE); \
\
- return gst_polypprobe_needs_probe(this->probe, prop_id, pspec); \
+ return gst_pulseprobe_needs_probe(this->probe, prop_id, pspec); \
} \
static void \
interface_as_function ## _probe_property(GstPropertyProbe *probe, \
@@ -88,7 +88,7 @@ interface_as_function ## _probe_property(GstPropertyProbe *probe,
g_return_if_fail(this != NULL); \
g_return_if_fail(this->probe != NULL); \
\
- gst_polypprobe_probe_property(this->probe, prop_id, pspec); \
+ gst_pulseprobe_probe_property(this->probe, prop_id, pspec); \
} \
static GValueArray* \
interface_as_function ## _get_values(GstPropertyProbe *probe, guint prop_id, \
@@ -99,7 +99,7 @@ interface_as_function ## _get_values(GstPropertyProbe *probe, guint prop_id,
g_return_val_if_fail(this != NULL, NULL); \
g_return_val_if_fail(this->probe != NULL, NULL); \
\
- return gst_polypprobe_get_values(this->probe, prop_id, pspec); \
+ return gst_pulseprobe_get_values(this->probe, prop_id, pspec); \
} \
static void \
interface_as_function ## _property_probe_interface_init(GstPropertyProbeInterface *iface)\