mirror of
https://github.com/thestk/stk
synced 2026-01-12 04:21:52 +00:00
29 lines
740 B
C++
29 lines
740 B
C++
/*******************************************/
|
|
/* RawWvIn Input Class, */
|
|
/* by Gary P. Scavone, 2000 */
|
|
/* */
|
|
/* This object inherits from WvIn and is */
|
|
/* used to open raw 16-bit data (signed */
|
|
/* integer) files for playback. */
|
|
/* */
|
|
/* STK RawWave files are assumed to be */
|
|
/* big-endian. */
|
|
/*******************************************/
|
|
|
|
#if !defined(__RawWvIn_h)
|
|
#define __RawWvIn_h
|
|
|
|
#include "Object.h"
|
|
#include "WvIn.h"
|
|
|
|
class RawWvIn : public WvIn
|
|
{
|
|
public:
|
|
RawWvIn(char *fileName, const char *mode);
|
|
~RawWvIn();
|
|
protected:
|
|
void getData(long index);
|
|
};
|
|
|
|
#endif
|