summaryrefslogtreecommitdiff
path: root/src/device_extern.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/device_extern.cpp')
-rw-r--r--src/device_extern.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device_extern.cpp b/src/device_extern.cpp
index 48c59d0..f0183b2 100644
--- a/src/device_extern.cpp
+++ b/src/device_extern.cpp
@@ -88,7 +88,7 @@ namespace audiere {
break;
}
}
- if (rate > 0)
+ if (rate <= 0)
{
ADR_LOG("Unable to open audio device\n");
module.uninit();