diff options
author | Tanu Kaskinen <tanuk@iki.fi> | 2019-09-19 10:50:58 +0300 |
---|---|---|
committer | Arun Raghavan <arun@arunraghavan.net> | 2019-09-24 02:36:56 +0000 |
commit | d72a3a5eca7e43c24fe16f5b2ed493ae1d12720f (patch) | |
tree | 717ae0a49183d17ee074eeecb828eea53f5378f1 | |
parent | 0d22558b4778c749a39e9e7efe96e73e9bc55f35 (diff) | |
download | pulseaudio-d72a3a5eca7e43c24fe16f5b2ed493ae1d12720f.tar.gz |
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.
-rw-r--r-- | src/modules/module-null-sink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-null-sink.c b/src/modules/module-null-sink.c index ac578821d..336676b7a 100644 --- 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) { |