<div dir="ltr">I discovered a curiosity:<div><br></div><div>$ play ~/tmp/44100hz.wav</div><div>$ ./list_devices</div><div><div>playback device: 44100 Hz Built-in Audio Analog Stereo (default)</div></div><div>$ play ~/tmp/48000hz.wav</div><div><div>$ ./list_devices</div><div>playback device: 48000 Hz Built-in Audio Analog Stereo (default)</div><div>$ play ~/tmp/99999hz.wav</div><div>playback device: 44100 Hz Built-in Audio Analog Stereo (default)</div></div><div><br></div><div><br></div><div>In other words, PulseAudio changes the default sample rate of my playback device when I open it with a different sample rate. But if I open the playback device with a weird sample rate such as 99999Hz then PulseAudio changes the default sample rate to 44100Hz. When I say default sample rate, I mean when I query for the list of sinks with the API and look at the sample_spec.</div><div><br></div><div>I'm trying to understand this phenomenon. Can anyone shed some light on this?</div></div>