~ubuntu-branches/ubuntu/feisty/muse/feisty

« back to all changes in this revision

Viewing changes to synti/stklib/WavWvOut.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2002-04-23 17:28:23 UTC
  • Revision ID: james.westby@ubuntu.com-20020423172823-w8yplzr81a759xa3
Tags: upstream-0.5.2
ImportĀ upstreamĀ versionĀ 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*******************************************/
 
2
/*  Wave file Output Class,                */
 
3
/*  by Perry R. Cook, 1995-96              */
 
4
/*  revised by Gary P. Scavone, 1999       */
 
5
/*                                         */
 
6
/*  This Object opens a DOS/Windows .wav   */
 
7
/*  16bit data (signed integers) file, and */
 
8
/*  poke buffers of samples into it.       */
 
9
/*******************************************/
 
10
 
 
11
#if !defined(__WavWvOut_h)
 
12
#define __WavWvOut_h
 
13
 
 
14
#include "Object.h"
 
15
#include "WvOut.h"
 
16
 
 
17
class WavWvOut : public WvOut
 
18
{
 
19
 protected:
 
20
        FILE *fd;
 
21
 public:
 
22
        WavWvOut(char *fileName, int chans = 1);
 
23
        ~WavWvOut();
 
24
        void tick(MY_FLOAT sample);
 
25
        void mtick(MY_MULTI samples);
 
26
};
 
27
 
 
28
#endif