+ 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>
/* TODO:
this element is still nonfunctional
- work out the src side (caps setting, etc)
@ -39,7 +39,7 @@
*/
/* elementfactory information */
static GstElementDetails gst_jack_bin_details = {
static GstElementDetails gst_jack_bin_details = {
"Jack Bin",
"Generic/Bin",
"GPL",
@ -171,7 +171,7 @@ gst_jack_src_request_pad_factory(void)
GstCaps *caps;
caps = gst_caps_new("src",
"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,
GST_PAD_REQUEST, caps, NULL);
}
@ -188,7 +188,7 @@ gst_jack_sink_request_pad_factory(void)
GstCaps *caps;
caps = gst_caps_new ("sink",
"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,
GST_PAD_REQUEST, caps, NULL);
}

View file

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