timidity/mix.h
author Sam Lantinga <slouken@lokigames.com>
Thu, 21 Oct 1999 18:02:08 +0000
changeset 0 4ce2db4db959
child 518 8bc9b5fd2aae
permissions -rw-r--r--
Initial revision
slouken@0
     1
/*
slouken@0
     2
slouken@0
     3
    TiMidity -- Experimental MIDI to WAVE converter
slouken@0
     4
    Copyright (C) 1995 Tuukka Toivonen <toivonen@clinet.fi>
slouken@0
     5
slouken@0
     6
    In case you haven't heard, this program is free software; 
slouken@0
     7
    you can redistribute it and/or modify it under the terms of the
slouken@0
     8
    GNU General Public License as published by the Free Software
slouken@0
     9
    Foundation; either version 2 of the License, or (at your option)
slouken@0
    10
    any later version.
slouken@0
    11
slouken@0
    12
    This program is distributed in the hope that it will be useful,
slouken@0
    13
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@0
    14
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
slouken@0
    15
    GNU General Public License for more details.
slouken@0
    16
slouken@0
    17
    You should have received a copy of the GNU General Public License
slouken@0
    18
    along with this program; if not, write to the Free Software
slouken@0
    19
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
slouken@0
    20
slouken@0
    21
    mix.h
slouken@0
    22
slouken@0
    23
*/
slouken@0
    24
slouken@0
    25
extern void mix_voice(int32 *buf, int v, int32 c);
slouken@0
    26
extern int recompute_envelope(int v);
slouken@0
    27
extern void apply_envelope_to_amp(int v);