summaryrefslogtreecommitdiff
path: root/tests/testall.cpp
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2011-04-13 00:50:38 +0000
committerStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 01:38:27 +0200
commit6faf4336eb5952b141e1c239d194f5cd70f0a885 (patch)
tree0138f26b95005b27ecc888e0c2dacf5f7ffe09b5 /tests/testall.cpp
parent24a98a1971301e582dc56ef2c6ac94c342b674dd (diff)
Updates for release 4.0.8, including new python binding, new teststops.cpp program, ALSA "default" flag, and various changes to stopping behavior (GS).
Diffstat (limited to 'tests/testall.cpp')
-rw-r--r--tests/testall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testall.cpp b/tests/testall.cpp
index bd9ca74..695488d 100644
--- a/tests/testall.cpp
+++ b/tests/testall.cpp
@@ -86,7 +86,7 @@ int inout( void *outputBuffer, void *inputBuffer, unsigned int nBufferFrames,
// a simple buffer copy operation here.
if ( status ) std::cout << "Stream over/underflow detected." << std::endl;
- unsigned long *bytes = (unsigned long *) data;
+ unsigned int *bytes = (unsigned int *) data;
memcpy( outputBuffer, inputBuffer, *bytes );
return 0;
}