projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d22558
)
null-sink: allow clients to configure the supported formats
author
Tanu Kaskinen
<tanuk@iki.fi>
Thu, 19 Sep 2019 07:50:58 +0000
(10:50 +0300)
committer
Arun Raghavan
<arun@arunraghavan.net>
Tue, 24 Sep 2019 02:36:56 +0000
(
02:36
+0000)
The set_formats() callback is already implemented, so the only thing
missing was the SET_FORMATS flag.
src/modules/module-null-sink.c
patch
|
blob
|
history
diff --git
a/src/modules/module-null-sink.c
b/src/modules/module-null-sink.c
index
ac57882
..
336676b
100644
(file)
--- a/
src/modules/module-null-sink.c
+++ b/
src/modules/module-null-sink.c
@@
-360,7
+360,7
@@
int pa__init(pa_module*m) {
goto fail;
}
- u->sink = pa_sink_new(m->core, &data, PA_SINK_LATENCY
|PA_SINK_DYNAMIC_LATENCY
);
+ u->sink = pa_sink_new(m->core, &data, PA_SINK_LATENCY
| PA_SINK_DYNAMIC_LATENCY | PA_SINK_SET_FORMATS
);
pa_sink_new_data_done(&data);
if (!u->sink) {