[pulseaudio-tickets] [Bug 75954] Alternate sample rate fails with PA_STREAM_FIX_RATE flag

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 11 11:57:43 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=75954

--- Comment #3 from Remi Denis-Courmont <courmisch at gmail.com> ---
Correction: The long term average playback rate appears to be 48kHz as reported
by PulseAudio. However the short term timing values returned by
pa_stream_get_latency() seem to be way off. More precisely the combination of
PA_STREAM_FIX_RATE and PA_STREAM_AUTO_TIMING_UPDATE does not work properly; if
I remove either or both flags, everything is fine.

(FWIW, VLC uses PA_STREAM_START_CORKED | PA_STREAM_INTERPOLATE_TIMING |
PA_STREAM_NOT_MONOTONIC | PA_STREAM_AUTO_TIMING_UPDATE | PA_STREAM_FIX_RATE bu
dyfault)

Tanu, here is what the requested command give me:

% pactl list sinks short
0       alsa_output.pci-0000_01_00.1.hdmi-stereo        module-alsa-card.c    
s16le 2ch 44100Hz        SUSPENDED
1       alsa_output.pci-0000_00_1b.0.analog-stereo      module-alsa-card.c    
s16le 2ch 48000Hz        RUNNING

% pactl list sink-inputs short
8       1       16      protocol-native.c       s16le 2ch 48000Hz

Raymond, I am aware of the fact that my soundcard does not support 22050Hz
natively. However, I would have expected PulseAudio to select 44100Hz rather
than 48000Hz in this case, since resampling to a straight multiple is a lot
easier and better.

-- 
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/20140311/e7f4cb0d/attachment.html>


More information about the pulseaudio-bugs mailing list