~ubuntu-branches/ubuntu/dapper/terminatorx/dapper

« back to all changes in this revision

Viewing changes to src/tX_tape.h

  • Committer: Bazaar Package Importer
  • Author(s): Mike Furr
  • Date: 2004-04-26 21:20:09 UTC
  • Revision ID: james.westby@ubuntu.com-20040426212009-acjw8flkt05j945f
Tags: upstream-3.81
Import upstream version 3.81

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    terminatorX - realtime audio scratching software
 
3
    Copyright (C) 1999-2003  Alexander K�nig
 
4
 
 
5
    This program is free software; you can redistribute it and/or modify
 
6
    it under the terms of the GNU General Public License as published by
 
7
    the Free Software Foundation; either version 2 of the License, or
 
8
    (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
 
13
    GNU General Public License for more details.
 
14
 
 
15
    You should have received a copy of the GNU General Public License
 
16
    along with this program; if not, write to the Free Software
 
17
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
18
 
 
19
    File: tX_tape.h
 
20
 
 
21
    Description: Header to tX_tape.cc
 
22
*/    
 
23
 
 
24
#ifndef _h_tx_tapedeck_
 
25
#define _h_tx_tapedeck_ 1
 
26
 
 
27
#include "wav_file.h"
 
28
#include "tX_types.h"
 
29
 
 
30
class tx_tapedeck
 
31
{
 
32
        wav_sig file;
 
33
        int is_recording;
 
34
        unsigned int written_bytes;
 
35
        int blocksize;
 
36
        
 
37
        public:
 
38
        int start_record(char *name, int bs, int samplerate);
 
39
        void stop_record();
 
40
        void eat(int16_t *);
 
41
        
 
42
        tx_tapedeck();
 
43
};
 
44
 
 
45
#endif