diff options
| author | mick grierson <mickgrierson@gmail.com> | 2016-10-09 22:40:54 +0100 |
|---|---|---|
| committer | mick grierson <mickgrierson@gmail.com> | 2016-10-09 22:40:54 +0100 |
| commit | 7f4bec02beedeb71725c65191b8d76f24b56b9a3 (patch) | |
| tree | 8dedba32c2a476d83c47bd226e0c54bac67a8836 /maximilian.cpp | |
| parent | ff891983f82464506b2f6545fd1d26c413638c64 (diff) | |
getLength
Diffstat (limited to 'maximilian.cpp')
| -rw-r--r-- | maximilian.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |
