I tried forcing the 'rate' parameter of 'pcm.!default' to 44100, and while that does cause all my dmixed audio to be at 44100 Hz, still, when all playback streams have been closed, the hardware reverts back to silence at 48000 Hz.
I suppose I could write a little program that would simply open the default PCM and then go to sleep indefinitely. That would hold the hardware at 44100 Hz, and any music would simply be dmixed in. The downside would be that I would be unable to play DVD audio at 48000 Hz, and I would definitely be unable to stream AC3 or DTS out through S/PDIF.
On Wednesday, 27 February 2008 9:28:09 am Pavel Hofman wrote:
Matt Whitlock wrote:
Can I assume at this point that there is no way to set the idle S/PDIF output sample rate to 44100 Hz? That is my original question.
I have no experience with HDA. In ICE1712/24 the spdif-out outputs signal corresponding to the current sampling frequency the chip is running on, containing no data. When playing sound, the chip clock switches to appropriate frequency, and spdif outputs data of this frequency. I.e. if the "parking, idle, default" frequency is 44.1kHz, it continuously outputs 44.1kHz SPDIF signal.
I guess if you could force HDA to default to 44.1kHz (no idea whether it is feasible), that would be it.
Pavel.
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel