[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] null-sink: allow clients to configure the supported formats
Arun Raghavan
gitlab at gitlab.freedesktop.org
Tue Sep 24 02:43:19 UTC 2019
Arun Raghavan pushed to branch master at PulseAudio / pulseaudio
Commits:
d72a3a5e by Tanu Kaskinen at 2019-09-24T02:36:56Z
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.
- - - - -
1 changed file:
- src/modules/module-null-sink.c
Changes:
=====================================
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) {
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/d72a3a5eca7e43c24fe16f5b2ed493ae1d12720f
--
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/d72a3a5eca7e43c24fe16f5b2ed493ae1d12720f
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20190924/848a912a/attachment.html>
More information about the pulseaudio-commits
mailing list