mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
012b81f07a
Original commit message from CVS: * gst/synaesthesia/gstsynaesthesia.c: (gst_synaesthesia_class_init), (gst_synaesthesia_init), (gst_synaesthesia_finalize), (gst_synaesthesia_chain): * gst/synaesthesia/synaescope.c: (synaescope_coreGo), (synaescope32), (synaescope_set_data), (synaesthesia_update), (synaesthesia_init), (synaesthesia_new), (synaesthesia_close): * gst/synaesthesia/synaescope.h: Move all the mutable engine state into a structure so that multiple element instances can run without interfering.
33 lines
1.2 KiB
C
33 lines
1.2 KiB
C
/* synaescope.h
|
|
* Copyright (C) 1999,2002 Richard Boulton <richard@tartarus.org>
|
|
*
|
|
* Much code copied from Synaesthesia - a program to display sound
|
|
* graphically, by Paul Francis Harrison <pfh@yoyo.cc.monash.edu.au>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
#ifndef _SYNAESCOPE_H
|
|
#define _SYNAESCOPE_H
|
|
|
|
#include <glib.h>
|
|
|
|
typedef struct syn_instance syn_instance;
|
|
|
|
void synaesthesia_init ();
|
|
syn_instance *synaesthesia_new (guint32 resx, guint32 resy);
|
|
void synaesthesia_close (syn_instance *si);
|
|
guint32 * synaesthesia_update (syn_instance *si, gint16 data [2][512]);
|
|
|
|
#endif
|