chiark / gitweb /
clients/playrtp.c: Configure the backend audio device before use.
[disorder] / clients / playrtp.c
index 1313a5e6fe8a0396fc98b1847d75b555b83378d4..f6e89d24391a95617bc056445c3ed1ce383a705b 100644 (file)
@@ -966,6 +966,7 @@ int main(int argc, char **argv) {
   uaudio_set_format(44100/*Hz*/, 2/*channels*/,
                     16/*bits/channel*/, 1/*signed*/);
   uaudio_set("application", "disorder-playrtp");
+  backend->configure();
   backend->start(playrtp_callback, NULL);
   if(backend->open_mixer) backend->open_mixer();
   /* We receive and convert audio data in a background thread */