Commit e54c7168 authored by Anne Heimes's avatar Anne Heimes

asio treiber im test hinzugefügt

parent 5aa47a5a
......@@ -23,6 +23,9 @@ int g_iTargetLatencySamples = 2 * g_iBlockLength; // 1.4512ms
int g_iRingBufferSize = 2 * g_iTargetLatencySamples;
int g_iSendingBlockLength = 8;
double g_dPlaybackDuration = 10 ; // seconds
const static string g_sAudioInterface = "ASIO MADIface USB";
//const static string g_sAudioInterface = "ASIO Hammerfall DSP";
//const static string g_sAudioInterface = "ASIO4ALL v2";
int main( int argc, char* argv[] )
{
......@@ -78,7 +81,7 @@ int main( int argc, char* argv[] )
cout << "Will attempt to connect to '" << g_sServerName << "' on port " << g_iServerPort << endl;
ITAsioInitializeLibrary();
ITAsioInitializeDriver( "ASIO4ALL v2" );
ITAsioInitializeDriver( g_sAudioInterface );
long lBuffersize, lDummy;
ITAsioGetBufferSize( &lDummy, &lDummy, &lBuffersize, &lDummy );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment