diff options
| author | Gary Scavone <gary@music.mcgill.ca> | 2011-02-17 21:26:23 +0000 |
|---|---|---|
| committer | Stephen Sinclair <sinclair@music.mcgill.ca> | 2013-10-11 01:38:27 +0200 |
| commit | 24a98a1971301e582dc56ef2c6ac94c342b674dd (patch) | |
| tree | 8b9aa705b0fd522cd0231f79f25a6cbcde8f06b2 /tests/duplex.cpp | |
| parent | 3a4fb410cf0be7a7f4fc3777a15b104d8091f3b5 (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.cpp | 2 |
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; } |
