This is SoundFileOut.h in view mode; [Download] [Up]
//
// Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu>
// Creation Date: Tue Nov 12 15:17:54 PST 1996
// Last Modified: Tue Apr 29 21:38:49 GMT-0800 1997
// Filename: .../sig/Filter/SoundFileOut/SoundFileOut.h
// Syntax: C++
// $Smake: cc -Wall -g -c %b.cc -I../../../include && rm -f %b.o
//
#ifndef _SOUNDFILEOUT_H_INCLUDED
#define _SOUNDFILEOUT_H_INCLUDED
#include "Filter.h"
#include "Definitions.h"
#include "SoundHeader.h"
#include <fstream.h>
class SoundFileOut : public Filter {
public:
SoundFileOut (char* aFileName, SoundHeader& header);
~SoundFileOut ();
void action (void);
void close (void);
sampleType output (int channel);
protected:
char *filename;
SoundHeader sndheader;
ofstream outFile;
long sampleCount;
ushort outSample;
};
#endif _SOUNDFILEOUT_H_INCLUDED
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.