mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
ext/ladspa/: add GstController support to ladspa
Original commit message from CVS: * ext/ladspa/Makefile.am: * ext/ladspa/gstladspa.c: (gst_ladspa_class_get_param_spec): add GstController support to ladspa
This commit is contained in:
parent
d0b9ec1252
commit
7328c54698
3 changed files with 12 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-01-28 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* ext/ladspa/Makefile.am:
|
||||
* ext/ladspa/gstladspa.c: (gst_ladspa_class_get_param_spec):
|
||||
add GstController support to ladspa
|
||||
|
||||
2007-01-28 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
Patch by: Rosfran Borges <rosfran dot borges at idnt org br>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
plugin_LTLIBRARIES = libgstladspa.la
|
||||
|
||||
libgstladspa_la_SOURCES = gstsignalprocessor.c gstladspa.c search.c load.c
|
||||
libgstladspa_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
||||
libgstladspa_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_CFLAGS)
|
||||
libgstladspa_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR)
|
||||
libgstladspa_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* GStreamer
|
||||
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
|
||||
* <2001> Steve Baker <stevebaker_org@yahoo.co.uk>
|
||||
* Copyright (C) 1999 Erik Walthinsen <omega@cse.ogi.edu>
|
||||
* 2001 Steve Baker <stevebaker_org@yahoo.co.uk>
|
||||
* 2003 Andy Wingo <wingo at pobox.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
@ -25,6 +25,7 @@
|
|||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <gst/audio/audio.h>
|
||||
#include <gst/controller/gstcontroller.h>
|
||||
|
||||
#include "gstladspa.h"
|
||||
#include <ladspa.h> /* main ladspa sdk include file */
|
||||
|
@ -195,6 +196,8 @@ gst_ladspa_class_get_param_spec (GstLADSPAClass * klass, gint portnum)
|
|||
perms = G_PARAM_READABLE;
|
||||
if (LADSPA_IS_PORT_INPUT (desc->PortDescriptors[portnum]))
|
||||
perms |= G_PARAM_WRITABLE | G_PARAM_CONSTRUCT;
|
||||
if (LADSPA_IS_PORT_CONTROL (desc->PortDescriptors[portnum]))
|
||||
perms |= GST_PARAM_CONTROLLABLE;
|
||||
|
||||
/* short name for hint descriptor */
|
||||
hintdesc = desc->PortRangeHints[portnum].HintDescriptor;
|
||||
|
|
Loading…
Reference in a new issue