From 3b9aa3e57bc89946447e61db239fbd6965a0a137 Mon Sep 17 00:00:00 2001 Message-Id: <3b9aa3e57bc89946447e61db239fbd6965a0a137.1714590379.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sat, 2 May 2020 18:01:02 +0100 Subject: [PATCH] clients/playrtp.c: Configure the backend audio device before use. Organization: Straylight/Edgeware From: Mark Wooding This means it stands a chance of working if your audio device has a weird mixer channel-name. --- clients/playrtp.c | 1 + 1 file changed, 1 insertion(+) 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 */ -- [mdw]