set raw wave path for demo project

This commit is contained in:
Ariel Elkin
2015-12-13 16:55:45 +01:00
parent 57344a11a9
commit 852bdec0c9

View File

@@ -45,6 +45,12 @@
NSLog(@"Brass sample: %f", sample);
}
//We're going to be making use of a class that needs
//raw wave files, we need to tell the STK where
//the files are:
stk::Stk::setRawwavePath([[[NSBundle mainBundle] pathForResource:@"rawwaves" ofType:@"bundle"] UTF8String]);
//Test Mandolin:
stk::Mandolin *mandolin = new stk::Mandolin(400);