summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/audioin.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/audioin.cc b/src/audioin.cc
index 8ed8eac..cc6fffc 100644
--- a/src/audioin.cc
+++ b/src/audioin.cc
@@ -144,7 +144,9 @@ AudioIn::AudioIn(std::string device, std::string mixer_interface,
// Write the parameters to the driver
rc = snd_pcm_hw_params(handle, params);
if (rc < 0) throw UnableToSetHWParams();
-
+
+ if(mixer_interface == "") return;
+
//
// Set up mixer
//