+ changes for new float caps without slope/intercept + some category changes for plugins

Original commit message from CVS:
+ changes for new float caps without slope/intercept
+ some category changes for plugins
This commit is contained in:
Leif Johnson 2003-07-19 23:25:25 +00:00 committed by Tim-Philipp Müller
parent 8bdd27fd62
commit 25dd7cc50c
2 changed files with 8 additions and 8 deletions

View File

@ -26,7 +26,7 @@
#include <gst/audio/audio.h> #include <gst/audio/audio.h>
/* TODO: /* TODO:
this element is still nonfunctional this element is still nonfunctional
- work out the src side (caps setting, etc) - work out the src side (caps setting, etc)
@ -39,7 +39,7 @@
*/ */
/* elementfactory information */ /* elementfactory information */
static GstElementDetails gst_jack_bin_details = { static GstElementDetails gst_jack_bin_details = {
"Jack Bin", "Jack Bin",
"Generic/Bin", "Generic/Bin",
"GPL", "GPL",
@ -171,7 +171,7 @@ gst_jack_src_request_pad_factory(void)
GstCaps *caps; GstCaps *caps;
caps = gst_caps_new("src", caps = gst_caps_new("src",
"audio/x-raw-float", "audio/x-raw-float",
GST_AUDIO_FLOAT_MONO_PAD_TEMPLATE_PROPS); GST_AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_PROPS);
template = gst_pad_template_new("%s", GST_PAD_SRC, template = gst_pad_template_new("%s", GST_PAD_SRC,
GST_PAD_REQUEST, caps, NULL); GST_PAD_REQUEST, caps, NULL);
} }
@ -188,7 +188,7 @@ gst_jack_sink_request_pad_factory(void)
GstCaps *caps; GstCaps *caps;
caps = gst_caps_new ("sink", caps = gst_caps_new ("sink",
"audio/x-raw-float", "audio/x-raw-float",
GST_AUDIO_FLOAT_MONO_PAD_TEMPLATE_PROPS); GST_AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_PROPS);
template = gst_pad_template_new("%s", GST_PAD_SINK, template = gst_pad_template_new("%s", GST_PAD_SINK,
GST_PAD_REQUEST, caps, NULL); GST_PAD_REQUEST, caps, NULL);
} }

View File

@ -1,7 +1,7 @@
/* -*- Mode: C; c-basic-offset: 4 -*- */ /* -*- Mode: C; c-basic-offset: 4 -*- */
/* /*
Copyright (C) 2002 Andy Wingo <wingo@pobox.com> Copyright (C) 2002 Andy Wingo <wingo@pobox.com>
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
@ -85,12 +85,12 @@ struct _GstJack {
/* list of GstJackPads */ /* list of GstJackPads */
GList *pads; GList *pads;
/* for convenience */ /* for convenience */
GstPadDirection direction; GstPadDirection direction;
gchar *port_name_prefix; gchar *port_name_prefix;
GstJackBin *bin; GstJackBin *bin;
}; };