[pulseaudio-tickets] [Bug 80770] New: module-loopback ignores latency_msec option
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jul 1 13:35:36 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=80770
Priority: medium
Bug ID: 80770
CC: lennart at poettering.net
Assignee: pulseaudio-bugs at lists.freedesktop.org
Summary: module-loopback ignores latency_msec option
QA Contact: pulseaudio-bugs at lists.freedesktop.org
Severity: major
Classification: Unclassified
OS: Linux (All)
Reporter: ifyoudieinthegameyoudieforreal at gmail.com
Hardware: x86-64 (AMD64)
Status: NEW
Version: unspecified
Component: modules
Product: PulseAudio
My latency using module-loopback is unacceptable for playing video games
through it (video game hardware connected to analog input). After I couldn't
get any better using the module's latency_msec option, I dinked around all that
I could with possible priority problems, realtime problems... Now, though, I
see that my latency is exactly the same whether I set latency_msec=1 or
latency_msec=2000, and 'pactl list sink-inputs' reflects that:
[david at delphinium pulse]$ pactl load-module module-loopback latency_msec=1
38
[david at delphinium pulse]$ pactl list sink-inputs
Sink Input #10
Driver: module-loopback.c
Owner Module: 38
Client: n/a
Sink: 0
Sample Specification: s16le 2ch 44011Hz
Channel Map: front-left,front-right
Format: pcm
Corked: no
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% /
0.00 dB
balance 0.00
Buffer Latency: 200767 usec
Sink Latency: 99891 usec
Resample method: speex-float-1
Properties:
media.role = "abstract"
module-stream-restore.id = "sink-input-by-media-role:abstract"
media.name = "Loopback from CMI8788 [Oxygen HD Audio] (Virtuoso 100
(Xonar DX)) Analog Stereo"
[david at delphinium pulse]$ pactl unload-module module-loopback
[david at delphinium pulse]$ pactl load-module module-loopback latency_msec=2000
39
[david at delphinium pulse]$ pactl list sink-inputs
Sink Input #11
Driver: module-loopback.c
Owner Module: 39
Client: n/a
Sink: 0
Sample Specification: s16le 2ch 44011Hz
Channel Map: front-left,front-right
Format: pcm
Corked: no
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% /
0.00 dB
balance 0.00
Buffer Latency: 197905 usec
Sink Latency: 99844 usec
Resample method: speex-float-1
Properties:
media.role = "abstract"
module-stream-restore.id = "sink-input-by-media-role:abstract"
media.name = "Loopback from CMI8788 [Oxygen HD Audio] (Virtuoso 100
(Xonar DX)) Analog Stereo"
No matter what I set latency_msec to, 'Buffer Latency' is ~200ms, which is
latency_msec's default value. It appears that this option is being ignored,
which is a huge pain, obviously.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20140701/d40382ce/attachment.html>
More information about the pulseaudio-bugs
mailing list