mirror of
https://github.com/thestk/stk
synced 2026-01-16 06:21:51 +00:00
Version 4.4.0
This commit is contained in:
committed by
Stephen Sinclair
parent
d199342e86
commit
eccd8c9981
@@ -20,6 +20,8 @@
|
||||
#include "FileWvIn.h"
|
||||
#include "InetWvOut.h"
|
||||
|
||||
using namespace stk;
|
||||
|
||||
void usage(void) {
|
||||
// Error function in case of incorrect command-line
|
||||
// argument specifications.
|
||||
@@ -57,7 +59,7 @@ int main( int argc, char *argv[] )
|
||||
input.setRate( rate );
|
||||
|
||||
// Find out how many channels we have.
|
||||
int channels = input.getChannels();
|
||||
int channels = input.channelsOut();
|
||||
StkFrames frames( 4096, channels );
|
||||
|
||||
// Attempt to connect to the socket server.
|
||||
@@ -71,7 +73,7 @@ int main( int argc, char *argv[] )
|
||||
|
||||
// Here's the runtime loop
|
||||
while ( !input.isFinished() )
|
||||
output.tickFrame( input.tickFrame( frames ) );
|
||||
output.tick( input.tick( frames ) );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user