~ubuntu-branches/ubuntu/edgy/freebirth/edgy

« back to all changes in this revision

Viewing changes to multi_tap_delay.h

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2001-03-14 17:18:53 UTC
  • Revision ID: james.westby@ubuntu.com-20010314171853-actxdsm1k2otn4ok
Tags: upstream-0.3.2
ImportĀ upstreamĀ versionĀ 0.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Freebirth
 
2
 * Copyright (C) 1999 topher lafata <topher@topher.com>,
 
3
 *                    Jake Donham <jake@bitmechanic.com>
 
4
 *
 
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.
 
9
 *
 
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.
 
14
 *
 
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.
 
19
 */
 
20
 
 
21
 
 
22
 
 
23
#define __MULTI_TAP_DELAY_H
 
24
 
 
25
#ifndef __SAMPLE_PRODUCER_H
 
26
  #include "sample_producer.h"
 
27
#endif
 
28
 
 
29
#ifndef __DELAY_H
 
30
 #include "delay.h"
 
31
#endif
 
32
 
 
33
#ifndef __MIX_H
 
34
 #include "mixer.h"
 
35
#endif
 
36
 
 
37
 
 
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 *);
 
45
  int num_taps;
 
46
  sample_producer *input;
 
47
  delay** combs;
 
48
  mixer *mix;
 
49
  sample_producer *unused; /* list terminator */
 
50
}multi_tap_delay;
 
51
 
 
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);
 
55
 
 
56
/*
 
57
  Local Variables:
 
58
  mode: font-lock
 
59
  End:
 
60
*/
 
61