Version 4.4.0

This commit is contained in:
Gary Scavone
2013-09-29 23:11:39 +02:00
committed by Stephen Sinclair
parent d199342e86
commit eccd8c9981
287 changed files with 11712 additions and 7676 deletions

View File

@@ -19,6 +19,8 @@
#include <signal.h>
#include <iostream>
using namespace stk;
// Eewww ... global variables! :-)
bool done;
StkFrames frames;
@@ -44,7 +46,7 @@ int tick( void *outputBuffer, void *inputBuffer, unsigned int nBufferFrames,
FileWvIn *input = (FileWvIn *) userData;
register StkFloat *samples = (StkFloat *) outputBuffer;
input->tickFrame( frames );
input->tick( frames );
for ( unsigned int i=0; i<frames.size(); i++ )
*samples++ = frames[i];
@@ -85,7 +87,7 @@ int main(int argc, char *argv[])
input.ignoreSampleRateChange();
// Find out how many channels we have.
int channels = input.getChannels();
int channels = input.channelsOut();
// Figure out how many bytes in an StkFloat and setup the RtAudio stream.
RtAudio::StreamParameters parameters;