[pulseaudio-discuss] Sink's Default Sample Rate is Changing?

Andrew Kelley superjoe30 at gmail.com
Thu Apr 2 12:36:33 PDT 2015


I discovered a curiosity:

$ play ~/tmp/44100hz.wav
$ ./list_devices
playback device: 44100 Hz Built-in Audio Analog Stereo (default)
$ play ~/tmp/48000hz.wav
$ ./list_devices
playback device: 48000 Hz Built-in Audio Analog Stereo (default)
$ play ~/tmp/99999hz.wav
playback device: 44100 Hz Built-in Audio Analog Stereo (default)


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.

I'm trying to understand this phenomenon. Can anyone shed some light on
this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150402/1146943a/attachment.html>


More information about the pulseaudio-discuss mailing list