projects
/
rtaudio-cdist.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix truncation to float warning in mscv
[rtaudio-cdist.git]
/
tests
/
testall.cpp
diff --git
a/tests/testall.cpp
b/tests/testall.cpp
index 419f27b630729bfb9c6d5a3d99e6fdbc8832ccab..b94ce696d194114e1f36db55fe8a46e37134af13 100644
(file)
--- a/
tests/testall.cpp
+++ b/
tests/testall.cpp
@@
-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++ ) {