Commit 19faa7db authored by Benjamin Berg's avatar Benjamin Berg
Browse files

pulseaudio: Set rate to 48kHz

In WFD almost all rates default to 48kHz. So, to avoid re-sampling, set
the rate on the sink to 48kHz.
parent 053a68ba
......@@ -157,6 +157,7 @@ on_pa_screencast_sink_got_info (pa_context *c,
self->operation = pa_context_load_module (self->context,
"module-null-sink",
"sink_name=gnome_screencast "
"rate=48000 "
"sink_properties=device.description=\"GNOME-Screencast\""
"device.class=\"sound\""
"device.icon_name=\"network-wireless\"",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment