summaryrefslogtreecommitdiff
path: root/src/output/plugins/OssOutputPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-07-03 22:10:26 +0200
committerMax Kellermann <max@musicpd.org>2019-07-03 22:10:26 +0200
commit412b04be584ed2f4e259b6d5ed8b084d69f76a81 (patch)
tree5bce6979471eddc0c55dc6db96e120f2c26f0a6f /src/output/plugins/OssOutputPlugin.cxx
parent510e6841a01ff1a43c4eac452d3cf2710032fa81 (diff)
output: allow throwing any exception
Diffstat (limited to 'src/output/plugins/OssOutputPlugin.cxx')
-rw-r--r--src/output/plugins/OssOutputPlugin.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/output/plugins/OssOutputPlugin.cxx b/src/output/plugins/OssOutputPlugin.cxx
index dee0a1e71..21f906969 100644
--- a/src/output/plugins/OssOutputPlugin.cxx
+++ b/src/output/plugins/OssOutputPlugin.cxx
@@ -120,7 +120,7 @@ private:
/**
* Reopen the device with the saved audio_format, without any probing.
*
- * Throws #std::runtime_error on error.
+ * Throws on error.
*/
void Reopen();
@@ -284,7 +284,7 @@ oss_try_ioctl(FileDescriptor fd, unsigned long request, int value,
* Set up the channel number, and attempts to find alternatives if the
* specified number is not supported.
*
- * Throws #std::runtime_error on error.
+ * Throws on error.
*/
static void
oss_setup_channels(FileDescriptor fd, AudioFormat &audio_format)
@@ -333,7 +333,7 @@ oss_setup_channels(FileDescriptor fd, AudioFormat &audio_format)
* Set up the sample rate, and attempts to find alternatives if the
* specified sample rate is not supported.
*
- * Throws #std::runtime_error on error.
+ * Throws on error.
*/
static void
oss_setup_sample_rate(FileDescriptor fd, AudioFormat &audio_format)