summaryrefslogtreecommitdiff
path: root/tests/duplex.cpp
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2011-02-17 21:26:23 +0000
committerStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 01:38:27 +0200
commit24a98a1971301e582dc56ef2c6ac94c342b674dd (patch)
tree8b9aa705b0fd522cd0231f79f25a6cbcde8f06b2 /tests/duplex.cpp
parent3a4fb410cf0be7a7f4fc3777a15b104d8091f3b5 (diff)
Various changes in preparation for release 4.0.8
including fix of MinGW ASIO compile problem (iasiothiscallresolver), OS-X problem handling device names in some languages (CFString conversion), small change to OS-X MUTEX lock location to avoid lockups, and correction to documentation regarding 24-bit data (should be lower 3 bytes, not upper 3 bytes).
Diffstat (limited to 'tests/duplex.cpp')
-rw-r--r--tests/duplex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/duplex.cpp b/tests/duplex.cpp
index 125b56e..938a7f8 100644
--- a/tests/duplex.cpp
+++ b/tests/duplex.cpp
@@ -53,7 +53,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;
}