summaryrefslogtreecommitdiff
path: root/Externals/soundtouch/FIFOSampleBuffer.cpp
diff options
context:
space:
mode:
authorskidau <skidau@gmail.com>2014-09-04 20:41:45 +1000
committerskidau <skidau@gmail.com>2014-09-04 20:41:45 +1000
commitba2bec1c0ab6f29b936048e5d4b57e47ecbad0cb (patch)
treea7c581387570a3da9964b8a8c7b3903ee8c93d57 /Externals/soundtouch/FIFOSampleBuffer.cpp
parent7a01effe94808176d55b7b9928cf3ebf8766d4c4 (diff)
Updated SoundTouch library to 1.8.1 [r198]
Diffstat (limited to 'Externals/soundtouch/FIFOSampleBuffer.cpp')
-rw-r--r--Externals/soundtouch/FIFOSampleBuffer.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Externals/soundtouch/FIFOSampleBuffer.cpp b/Externals/soundtouch/FIFOSampleBuffer.cpp
index be6060e3c3..7a54d8795a 100644
--- a/Externals/soundtouch/FIFOSampleBuffer.cpp
+++ b/Externals/soundtouch/FIFOSampleBuffer.cpp
@@ -15,7 +15,7 @@
///
////////////////////////////////////////////////////////////////////////////////
//
-// Last changed : $Date: 2012-11-08 18:53:01 +0000 (Thu, 08 Nov 2012) $
+// Last changed : $Date: 2012-11-09 05:53:01 +1100 (Fri, 09 Nov 2012) $
// File revision : $Revision: 4 $
//
// $Id: FIFOSampleBuffer.cpp 160 2012-11-08 18:53:01Z oparviai $
@@ -86,6 +86,10 @@ void FIFOSampleBuffer::setChannels(int numChannels)
samplesInBuffer = usedBytes / channels;
}
+int FIFOSampleBuffer::getChannels()
+{
+ return channels;
+}
// if output location pointer 'bufferPos' isn't zero, 'rewinds' the buffer and
// zeroes this pointer by copying samples from the 'bufferPos' pointer