summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/output/plugins/OSXOutputPlugin.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/output/plugins/OSXOutputPlugin.cxx b/src/output/plugins/OSXOutputPlugin.cxx
index b39d21a35..db7a98e28 100644
--- a/src/output/plugins/OSXOutputPlugin.cxx
+++ b/src/output/plugins/OSXOutputPlugin.cxx
@@ -637,11 +637,8 @@ osx_output_set_device(OSXOutput *oo)
}
}
if (i == numdevices) {
- FormatWarning(osx_output_domain,
- "Found no audio device with name '%s' "
- "(will use default audio device)",
+ throw FormatRuntimeError("Found no audio device with name '%s' ",
oo->device_name);
- return;
}
status = AudioUnitSetProperty(oo->au,