From: Mark Wooding Date: Sat, 2 May 2020 17:01:02 +0000 (+0100) Subject: clients/playrtp.c: Configure the backend audio device before use. X-Git-Tag: 5.2~6 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/3b9aa3e57bc89946447e61db239fbd6965a0a137 clients/playrtp.c: Configure the backend audio device before use. This means it stands a chance of working if your audio device has a weird mixer channel-name. --- diff --git a/clients/playrtp.c b/clients/playrtp.c index 1313a5e..f6e89d2 100644 --- a/clients/playrtp.c +++ b/clients/playrtp.c @@ -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 */