Version 4.2.1

This commit is contained in:
Gary Scavone
2009-03-24 23:02:14 -04:00
committed by Stephen Sinclair
parent a6381b9d38
commit 2cbce2d8bd
275 changed files with 8949 additions and 6906 deletions

View File

@@ -13,7 +13,7 @@
*/
/******************************************/
#include "WvIn.h"
#include "FileWvIn.h"
#include "RtAudio.h"
#include <signal.h>
@@ -40,7 +40,7 @@ void usage(void) {
// samples.
int tick(char *buffer, int bufferSize, void *dataPointer)
{
WvIn *input = (WvIn *) dataPointer;
FileWvIn *input = (FileWvIn *) dataPointer;
register StkFloat *samples = (StkFloat *) buffer;
input->tickFrame( frames );
@@ -65,11 +65,11 @@ int main(int argc, char *argv[])
// Initialize our WvIn and RtAudio pointers.
RtAudio *dac = 0;
WvIn *input = 0;
FileWvIn *input = 0;
// Try to load the soundfile.
try {
input = new WvIn( argv[1] );
input = new FileWvIn( argv[1] );
}
catch (StkError &) {
exit(0);