From 044dd2e4569fc844eb9af8b6d1c1f4edc6c3af75 Mon Sep 17 00:00:00 2001 From: Chris Kiefer Date: Wed, 18 Jan 2012 14:11:55 +0000 Subject: Fixed string header + g++ warnings --- maximilian.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'maximilian.cpp') diff --git a/maximilian.cpp b/maximilian.cpp index 538e3fb..0fe14d4 100644 --- a/maximilian.cpp +++ b/maximilian.cpp @@ -445,10 +445,9 @@ double maxiSample::play() { double maxiSample::playOnce() { // long length=myDataSize*(0.5/myChannels); - double remainder; short* buffer = (short *)myData; position=(position+1); - remainder = position - (long) position; + double remainder = position - (long) position; if ((long) position