FIX_RATE and AUTO_TIMING_UPDATE don't work properly together
Submitted by Remi Denis-Courmont
Assigned to pul..@..op.org
HDA Intel / Realtek ALC887 card (stereo) Linux kernel 3.13.6 Debian (Sid) on x86-64 PulseAudio 4.0 with default settings
STEPS TO REPRODUCE:
(re)start the PulseAudio daemon (pulseaudio -k) -> the HDA sink input is initialized as: s16ke 2ch 44100Hz
play a stream at 48000kHz -> the HDA sink input rate is changed to 48000Hz
stop the stream
play a stream at 22050Hz with PA_STREAM_FIX_RATE flag -> the HDA sink input rate stays at 48000Hz (wrong) and the timing is totally off, as if the card was 44100Hz. With VLC this causes continuous pitch shifts.
Note: If PA_STREAM_FIX_RATE is not used, then PulseAudio correctly reverts to 44100Hz output.