Original commit message from CVS:
bad bad ronald, here's the struct member
+2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * ext/alsa/gstalsa.h:
+ I assume Ronald forgot to commit the change to have cardname
+ as a struct member. Expect some public spanking at the next
+ opportunity.
+
2004-03-15 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/alsa/gstalsa.c: (gst_alsa_get_property),
GST_ALSA_CAPS_RESUME,
GST_ALSA_CAPS_SYNC_START
/* add more */
-} GstAlsaPcmCaps;
+}
+GstAlsaPcmCaps;
#define GST_ALSA_CAPS_IS_SET(obj, flag) (GST_ALSA (obj)->pcm_caps & (1<<(flag)))
#define GST_ALSA_CAPS_SET(obj, flag, set) G_STMT_START{ \
snd_pcm_format_t format;
guint rate;
gint channels;
-} GstAlsaFormat;
+}
+GstAlsaFormat;
struct _GstAlsa
{
GstPad *pad[GST_ALSA_MAX_TRACKS];
gchar *device;
+ gchar *cardname;
snd_pcm_t *handle;
snd_pcm_info_t *info;
guint pcm_caps; /* capabilities of the pcm device, see GstAlsaPcmCaps */