mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
null-sink: allow clients to configure the supported formats
The set_formats() callback is already implemented, so the only thing missing was the SET_FORMATS flag.
This commit is contained in:
parent
0d22558b47
commit
d72a3a5eca
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue