projects
/
rtaudio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "duplex test: 64 bit compatibility"
[rtaudio.git]
/
tests
/
duplex.cpp
diff --git
a/tests/duplex.cpp
b/tests/duplex.cpp
index 43d12179bc9c028e0843bdff5c406d877ed5602f..06462f2872aae5edbf6f883c01037cc8756f7df4 100644
(file)
--- a/
tests/duplex.cpp
+++ b/
tests/duplex.cpp
@@
-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;
// a simple buffer copy operation here.
if ( status ) std::cout << "Stream over/underflow detected." << std::endl;
- u
int32_t *bytes = (uint32_
t *) data;
+ u
nsigned int *bytes = (unsigned in
t *) data;
memcpy( outputBuffer, inputBuffer, *bytes );
return 0;
}
memcpy( outputBuffer, inputBuffer, *bytes );
return 0;
}