diff --git a/src/client.cpp b/src/client.cpp index b43cbcff..7f95e05f 100755 --- a/src/client.cpp +++ b/src/client.cpp @@ -372,20 +372,6 @@ fflush(pFileDelay); ResampleObjUpL.Resample ( vecdAudioL, vecdAudioSndCrdL ); ResampleObjUpR.Resample ( vecdAudioR, vecdAudioSndCrdR ); - - - -// TEST play sinusoidal signal for testing -static int iCnt = 0; -for ( i = 0; i < iSndCrdBlockSizeSam; i++ ) -{ - vecdAudioSndCrdL[i] = sin(6 * double(iCnt) / 48000 * 2000) * 22000; - vecdAudioSndCrdR[i] = vecdAudioSndCrdL[i]; - iCnt++; -} - - - // copy data from one stereo buffer in two separate buffers iInCnt = 0; for ( i = 0; i < iSndCrdBlockSizeSam; i++ ) diff --git a/windows/llcon.vcproj b/windows/llcon.vcproj index 97147f15..8a5a98b1 100755 --- a/windows/llcon.vcproj +++ b/windows/llcon.vcproj @@ -146,7 +146,7 @@ Name="VCCLCompilerTool" Optimization="2" InlineFunctionExpansion="1" - AdditionalIncludeDirectories=""$(QTDIR)\include\Qt";"$(QTDIR)\include";../src;ASIOSDK2/common;ASIOSDK2/host;ASIOSDK2/host/pc" + AdditionalIncludeDirectories=""$(QTDIR)\include";"$(QTDIR)\include\Qt";../src;ASIOSDK2/common;ASIOSDK2/host;ASIOSDK2/host/pc" PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;QT_DLL;QT_THREAD_SUPPORT" StringPooling="true" RuntimeLibrary="2" @@ -171,7 +171,7 @@ /> & psData ) // very likely that a buffer got lost -> set error flag bError = ( iInCurBlockToWrite == iCurNumSndBufIn ); -/* -// TEST -if ( bError ) -{ - iInCurBlockToWrite = 1; -} -*/ - ASIOMutex.lock(); // get mutex lock { // copy data from sound card in output buffer @@ -516,7 +508,7 @@ pstrDevices[0] = driverInfo.name; // create event m_ASIOEvent = CreateEvent ( NULL, FALSE, FALSE, NULL ); - // init flag to open devices + // init flags bChangParamIn = false; bChangParamOut = false; }