summaryrefslogtreecommitdiff
path: root/RtAudio.cpp
diff options
context:
space:
mode:
authorMarcus Tomlinson <themarcustomlinson@gmail.com>2022-07-10 13:33:38 +0100
committerMarcus Tomlinson <themarcustomlinson@gmail.com>2022-07-10 13:33:38 +0100
commit6edde1e15a662220b52f4861fd495c105d9df77d (patch)
treef3ef296dc4aabf712442297348db7b0c07a96b44 /RtAudio.cpp
parent472df628d0168c2bbd87321c61afddf5674656f5 (diff)
Remove unused "isInput" in probeDeviceOpen()
Diffstat (limited to 'RtAudio.cpp')
-rw-r--r--RtAudio.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp
index e702ec2..4d3e91f 100644
--- a/RtAudio.cpp
+++ b/RtAudio.cpp
@@ -1457,9 +1457,7 @@ bool RtApiCore :: probeDeviceOpen( unsigned int deviceId, StreamMode mode, unsig
KAUDIOOBJECTPROPERTYELEMENT };
// Setup for stream mode.
- bool isInput = false;
if ( mode == INPUT ) {
- isInput = true;
property.mScope = kAudioDevicePropertyScopeInput;
}