<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Alternate sample rate fails with PA_STREAM_FIX_RATE flag"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75954#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Alternate sample rate fails with PA_STREAM_FIX_RATE flag"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75954">bug 75954</a>
from <span class="vcard"><a class="email" href="mailto:courmisch@gmail.com" title="Remi Denis-Courmont <courmisch@gmail.com>"> <span class="fn">Remi Denis-Courmont</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>