ftp.nice.ch/pub/next/unix/audio/line2sine.1.0.NI.bs.tar.gz#/line2sine/include/Constant.h

This is Constant.h in view mode; [Download] [Up]

//
// Programmer:    Craig Stuart Sapp <craig@ccrma.stanford.edu>
// Creation Date: Mon Apr 28 21:46:28 GMT-0800 1997
// Last Modified: Mon Apr 28 21:46:28 GMT-0800 1997
// Filename:      .../sig/src/Generator/Constant/Constant.cc
// Syntax:        C++ 
// $Smake:        cc -Wall -g -c %b.cc -I../../../include && rm -f %b.o
//

#ifndef _CONSTANT_H_INCLUDED 
#define _CONSTANT_H_INCLUDED 

#include "Generator.h"


class Constant : public Generator {
   public:
                      Constant          (sampleType aValue = 0);
                     ~Constant          ();
                      
      void            action            (void);
      sampleType      output            (int channel);
      void            printState        (void);
      void            setValue          (sampleType aValue);

   protected:
      sampleType      value;
};


#endif  _CONSTANT_H_INCLUDED 

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.