Sink's Default Sample Rate is Changing?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux