From 7f4bec02beedeb71725c65191b8d76f24b56b9a3 Mon Sep 17 00:00:00 2001 From: mick grierson Date: Sun, 9 Oct 2016 22:40:54 +0100 Subject: getLength --- maximilian.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'maximilian.cpp') diff --git a/maximilian.cpp b/maximilian.cpp index adbb97d..8f358f7 100644 --- a/maximilian.cpp +++ b/maximilian.cpp @@ -1082,8 +1082,8 @@ double maxiSample::bufferPlay4(unsigned char &bufferin,double frequency, double } -void maxiSample::getLength() { - length=myDataSize*0.5; +long maxiSample::getLength() { + return (length=myDataSize*0.5); } void maxiSample::setLength(unsigned long numSamples) { -- cgit v1.3