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?
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to