input/async: pass EventLoop& to constructor

This commit is contained in:
Max Kellermann
2017-01-25 23:12:29 +01:00
parent c3fa7e13cf
commit f8eeded528
5 changed files with 16 additions and 14 deletions

View File

@@ -76,7 +76,7 @@ public:
const char *_uri, Mutex &_mutex, Cond &_cond,
const char *_device,
snd_pcm_t *_handle, int _frame_size)
:AsyncInputStream(_uri, _mutex, _cond,
:AsyncInputStream(loop, _uri, _mutex, _cond,
ALSA_MAX_BUFFERED, ALSA_RESUME_AT),
MultiSocketMonitor(loop),
DeferredMonitor(loop),