From a9b7b73bc1bbe47affa034a7dec09b7acbd0e267 Mon Sep 17 00:00:00 2001 From: Mick Grierson Date: Wed, 12 Oct 2011 00:23:56 +0100 Subject: Support for loading a specific channel from a stereo wav file as an argument to the load function. Default is channel 0 --- maximilian.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'maximilian.h') diff --git a/maximilian.h b/maximilian.h index a2a913f..34c91c2 100755 --- a/maximilian.h +++ b/maximilian.h @@ -167,6 +167,7 @@ private: string myPath; int myChunkSize; int mySubChunk1Size; + int readChannel; short myFormat; int myByteRate; short myBlockAlign; @@ -202,7 +203,7 @@ public: // maxiSample(); - bool load(string fileName); + bool load(string fileName, int channel=0); void trigger(); -- cgit v1.3