projects
/
rtaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03aef01
)
Fix truncation to float warning in mscv
81/head
author
jossgray
<joss@jossgray.net>
Mon, 5 Dec 2016 20:37:38 +0000
(20:37 +0000)
committer
jossgray
<joss@jossgray.net>
Mon, 5 Dec 2016 20:37:38 +0000
(20:37 +0000)
tests/testall.cpp
patch
|
blob
|
history
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++ ) {