diff options
Diffstat (limited to 'tests/teststops.cpp')
| -rw-r--r-- | tests/teststops.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/teststops.cpp b/tests/teststops.cpp index e24c064..b388554 100644 --- a/tests/teststops.cpp +++ b/tests/teststops.cpp @@ -63,7 +63,7 @@ int pulse( void *outputBuffer, void * /*inputBuffer*/, unsigned int nBufferFrame if ( status ) std::cout << "Stream over/underflow detected!" << std::endl;
for ( i=0; i<nBufferFrames; i++ ) {
- if ( data->frameCounter % data->pulseCount == 0 ) sample = 0.9;
+ if ( data->frameCounter % data->pulseCount == 0 ) sample = 0.9f;
else sample = 0.0;
for ( j=0; j<data->channels; j++ )
*buffer++ = sample;
|
