mirror of
https://github.com/thestk/stk
synced 2026-01-17 14:41:53 +00:00
Version 3.2
This commit is contained in:
committed by
Stephen Sinclair
parent
4b6500d3de
commit
3f126af4e5
29
include/SndWvOut.h
Normal file
29
include/SndWvOut.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/***********************************************/
|
||||
/*
|
||||
NeXT (.snd) and Sun (.au) Soundfile Output Class
|
||||
by Perry R. Cook, 1996
|
||||
Revised by Gary P. Scavone, 1999-2000
|
||||
|
||||
This one opens a NeXT .snd file, and
|
||||
even knows how to byte-swap!
|
||||
*/
|
||||
/***********************************************/
|
||||
|
||||
#if !defined(__SndWvOut_h)
|
||||
#define __SndWvOut_h
|
||||
|
||||
#include "Object.h"
|
||||
#include "WvOut.h"
|
||||
|
||||
class SndWvOut : public WvOut
|
||||
{
|
||||
protected:
|
||||
FILE *fd;
|
||||
public:
|
||||
SndWvOut(char *fileName, int chans = 1);
|
||||
~SndWvOut();
|
||||
void tick(MY_FLOAT sample);
|
||||
void mtick(MY_MULTI samples);
|
||||
};
|
||||
|
||||
#endif // defined(__SndWvOut_h)
|
||||
Reference in New Issue
Block a user