projects
/
rtaudio-cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70b9512
)
Revert "duplex test: 64 bit compatibility"
author
Stephen Sinclair
<radarsat1@gmail.com>
Fri, 12 Feb 2016 17:12:16 +0000
(14:12 -0300)
committer
Stephen Sinclair
<radarsat1@gmail.com>
Fri, 12 Feb 2016 17:58:32 +0000
(14:58 -0300)
This reverts commit
f639653f5ecf98d3b093049435df5631d8eb0f44
.
This change breaks the build with g++ 5.2.1 (Ubuntu 15.10).
tests/duplex.cpp
patch
|
blob
|
history
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;
- u
int32_t *bytes = (uint32_
t *) data;
+ u
nsigned int *bytes = (unsigned in
t *) data;
memcpy( outputBuffer, inputBuffer, *bytes );
return 0;
}