~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
281c289
)
clients/playrtp.c: Configure the backend audio device before use.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 2 May 2020 17:01:02 +0000
(18:01 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 2 May 2020 17:08:15 +0000
(18:08 +0100)
This means it stands a chance of working if your audio device has a
weird mixer channel-name.
clients/playrtp.c
patch
|
blob
|
blame
|
history
diff --git
a/clients/playrtp.c
b/clients/playrtp.c
index
1313a5e
..
f6e89d2
100644
(file)
--- 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 */