2
* Copyright (C) 1999 topher lafata <topher@topher.com>,
3
* Jake Donham <jake@bitmechanic.com>
5
* This program is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public
7
* License as published by the Free Software Foundation; either
8
* version 2 of the License, or (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* General Public License for more details.
15
* You should have received a copy of the GNU General Public
16
* License along with this program (see COPYING); if not, write to the
17
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18
* Boston, MA 02111-1307, USA.
23
#define __MULTI_TAP_DELAY_H
25
#ifndef __SAMPLE_PRODUCER_H
26
#include "sample_producer.h"
38
typedef struct multi_tap_delay{
39
sample *(* get_buffer)(struct multi_tap_delay *);
40
void (*next_buffer)(struct multi_tap_delay *);
41
sample_producer **(*get_children)(struct multi_tap_delay *);
42
char **(*get_header)(struct multi_tap_delay *);
43
char **(*get_code)(struct multi_tap_delay *);
44
char **(*get_footer)(struct multi_tap_delay *);
46
sample_producer *input;
49
sample_producer *unused; /* list terminator */
52
multi_tap_delay *multi_tap_delay_new(int num_taps, sample_producer *input);
53
sample *multi_tap_delay_get_buffer(multi_tap_delay *this);
54
void multi_tap_delay_next_buffer(multi_tap_delay *this);