Browse Source

duplex test: 64 bit compatibility

This change was necessary to prevent BAD ACCESS when compiling on 64 bit OSX
tags/4.1.2
David Császár 10 years ago
parent
commit
f639653f5e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/duplex.cpp

+ 1
- 1
tests/duplex.cpp View File

@@ -55,7 +55,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 int *bytes = (unsigned int *) data;
uint32_t *bytes = (uint32_t *) data;
memcpy( outputBuffer, inputBuffer, *bytes );
return 0;
}


Loading…
Cancel
Save