summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-04-25 20:37:28 (UTC)
committer llornkcor <llornkcor>2004-04-25 20:37:28 (UTC)
commitae76c412a340a0808ed6ece5e4a8fbc04baa4ff3 (patch) (side-by-side diff)
treea086457c05142e1ac2749844ffcb458d96550c6f
parent22d51bcaa58b90a3ffd4d429c43e6c24e1694ab3 (diff)
downloadopie-ae76c412a340a0808ed6ece5e4a8fbc04baa4ff3.zip
opie-ae76c412a340a0808ed6ece5e4a8fbc04baa4ff3.tar.gz
opie-ae76c412a340a0808ed6ece5e4a8fbc04baa4ff3.tar.bz2
soundcard descriptor mucking about
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opierec/device.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/multimedia/opierec/device.cpp b/noncore/multimedia/opierec/device.cpp
index 5319d97..db2d63f 100644
--- a/noncore/multimedia/opierec/device.cpp
+++ b/noncore/multimedia/opierec/device.cpp
@@ -347,3 +347,3 @@ int Device::devRead(int soundDescriptor, short *buf, int size) {
int number = 0;
- number = ::read( soundDescriptor, (char *)buf, size);
+ number = ::read( sd /*soundDescriptor*/, (char *)buf, size);
return number;
@@ -353,3 +353,3 @@ int Device::devWrite(int soundDescriptor, short * buf, int size) {
int bytesWritten = 0;
- bytesWritten = ::write( soundDescriptor, buf, size);
+ bytesWritten = ::write( sd /*soundDescriptor*/, buf, size);
return bytesWritten;