From 24a98a1971301e582dc56ef2c6ac94c342b674dd Mon Sep 17 00:00:00 2001 From: Gary Scavone Date: Thu, 17 Feb 2011 21:26:23 +0000 Subject: 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). --- tests/duplex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/duplex.cpp') 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; } -- cgit v1.2.3