OutputInit: allow "init" to throw exception

This commit is contained in:
Max Kellermann
2016-10-28 21:11:52 +02:00
parent a249a630c0
commit 0c464b24ad
3 changed files with 15 additions and 1 deletions

View File

@@ -454,6 +454,9 @@ private:
*/
extern struct notify audio_output_client_notify;
/**
* Throws #std::runtime_error on error.
*/
AudioOutput *
audio_output_new(EventLoop &event_loop, const ConfigBlock &block,
MixerListener &mixer_listener,