summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2002-04-06 18:14:30 +0000
committerBenjamin Otte <otte@gnome.org>2002-04-06 18:14:30 +0000
commit49fbf06212d37dc04a22984273bde13ece97e9bf (patch)
treeb939d7e3ef6932bcf3570923eb2c8a3b13574a7b
parent6d7191f9f0b4d1651f37afe8f7eeae5beab5e131 (diff)
downloadgstreamer-plugins-base-49fbf06212d37dc04a22984273bde13ece97e9bf.tar.gz
fixed warnings in /ext added mikmod_types.h to get it done
Original commit message from CVS: fixed warnings in /ext added mikmod_types.h to get it done
-rw-r--r--ext/alsa/gstalsa.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/alsa/gstalsa.c b/ext/alsa/gstalsa.c
index 2c8b8a01f..9a8f9c6f0 100644
--- a/ext/alsa/gstalsa.c
+++ b/ext/alsa/gstalsa.c
@@ -506,7 +506,7 @@ gst_alsa_change_state(GstElement *element)
return GST_STATE_SUCCESS;
}
-
+/* defined but not used
static gboolean
gst_alsa_parse_caps (GstAlsa *this, GstCaps *caps)
{
@@ -571,13 +571,13 @@ gst_alsa_parse_caps (GstAlsa *this, GstCaps *caps)
format = SND_PCM_FORMAT_U32_BE;
}
}
- } else if (law == 1) { /* mu law */
+ } else if (law == 1) { *//* mu law *//*
if (width == depth && width == 8 && sign == FALSE) {
format = SND_PCM_FORMAT_MU_LAW;
} else {
return FALSE;
}
- } else if (law == 2) { /* a law, ug. */
+ } else if (law == 2) { *//* a law, ug. *//*
if (width == depth && width == 8 && sign == FALSE) {
format = SND_PCM_FORMAT_A_LAW;
}
@@ -593,8 +593,8 @@ gst_alsa_parse_caps (GstAlsa *this, GstCaps *caps)
format = SND_PCM_FORMAT_FLOAT;
} else {
return FALSE;
- /* if you need float64, chat w/ me on irc.gstreamer.net and i'll tell you what needs to
- * be done. i'm 'wingo'. */
+ *//* if you need float64, chat w/ me on irc.gstreamer.net and i'll tell you what needs to
+ * be done. i'm 'wingo'. *//*
}
} else {
return FALSE;
@@ -611,7 +611,7 @@ gst_alsa_parse_caps (GstAlsa *this, GstCaps *caps)
return TRUE;
}
-
+*/
/* caps are so painful sometimes. */
static GstCaps*
gst_alsa_caps (GstAlsa *this)