From 4290b897a297e311484f46b1cac2f6b5296a38fe Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 20 Jun 2006 19:22:36 +0000 Subject: s/polyp/pulse/ first part git-svn-id: file:///home/lennart/svn/public/gst-pulse/trunk@40 bb39ca4e-bce3-0310-b5d4-eea78a553289 --- src/polypmixertrack.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'src/polypmixertrack.c') diff --git a/src/polypmixertrack.c b/src/polypmixertrack.c index 75101bd..3e9b746 100644 --- a/src/polypmixertrack.c +++ b/src/polypmixertrack.c @@ -1,20 +1,20 @@ /* $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. ***/ @@ -25,32 +25,32 @@ #include -#include "polypmixertrack.h" +#include "pulsemixertrack.h" -GST_DEBUG_CATEGORY_EXTERN(polyp_debug); -#define GST_CAT_DEFAULT polyp_debug +GST_DEBUG_CATEGORY_EXTERN(pulse_debug); +#define GST_CAT_DEFAULT pulse_debug -G_DEFINE_TYPE(GstPolypMixerTrack, gst_polypmixer_track, GST_TYPE_MIXER_TRACK); +G_DEFINE_TYPE(GstPolypMixerTrack, gst_pulsemixer_track, GST_TYPE_MIXER_TRACK); -static void gst_polypmixer_track_class_init(GstPolypMixerTrackClass *klass) { +static void gst_pulsemixer_track_class_init(GstPolypMixerTrackClass *klass) { } -static void gst_polypmixer_track_init(GstPolypMixerTrack *track) { +static void gst_pulsemixer_track_init(GstPolypMixerTrack *track) { track->control = NULL; } -GstMixerTrack *gst_polypmixer_track_new(GstPolypMixerCtrl *control) { - GstPolypMixerTrack *polyptrack; +GstMixerTrack *gst_pulsemixer_track_new(GstPolypMixerCtrl *control) { + GstPolypMixerTrack *pulsetrack; GstMixerTrack *track; - polyptrack = g_object_new(GST_TYPE_POLYPMIXER_TRACK, NULL); - polyptrack->control = control; + pulsetrack = g_object_new(GST_TYPE_PULSEMIXER_TRACK, NULL); + pulsetrack->control = control; - track = GST_MIXER_TRACK(polyptrack); + track = GST_MIXER_TRACK(pulsetrack); track->label = g_strdup("Master"); track->num_channels = control->channel_map.channels; track->flags = - (control->type == GST_POLYPMIXER_SINK ? GST_MIXER_TRACK_OUTPUT|GST_MIXER_TRACK_MASTER : GST_MIXER_TRACK_INPUT|GST_MIXER_TRACK_RECORD) | + (control->type == GST_PULSEMIXER_SINK ? GST_MIXER_TRACK_OUTPUT|GST_MIXER_TRACK_MASTER : GST_MIXER_TRACK_INPUT|GST_MIXER_TRACK_RECORD) | (control->muted ? GST_MIXER_TRACK_MUTE : 0); track->min_volume = PA_VOLUME_MUTED; track->max_volume = PA_VOLUME_NORM; -- cgit