Browse Source

Fix truncation to float warning in mscv

tags/5.0.0
jossgray 8 years ago
parent
commit
fc1f79343b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/testall.cpp

+ 1
- 1
tests/testall.cpp View File

@@ -66,7 +66,7 @@ int sawni( void *outputBuffer, void * /*inputBuffer*/, unsigned int nBufferFrame
if ( status )
std::cout << "Stream underflow detected!" << std::endl;

float increment;
double increment;
for ( j=0; j<channels; j++ ) {
increment = BASE_RATE * (j+1+(j*0.1));
for ( i=0; i<nBufferFrames; i++ ) {


Loading…
Cancel
Save