Re: [Alsa-user] How to get set/fixed sample rate of ALSA device?

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

 



On Mon, 8 Oct 2007, Peteris Krisjanis wrote:

>> Introducing a /proc/asound/card0/pcm0{p,c}/hw_limits or similar might not be
>> a bad idea though?
>
> That would be good idea, with completion with 'alsainfo' about device.
>
> How to do that properly, any clues before I try to sink my teeths in ALSA code?

Is this even possible? Ie, do sound cards actually tell you what their max
or min hardware capabilities are and what info might you put into here? Ie,
some cards can do 2 or 4 or 5.1 channel output. Do you put that in? 
And re speed, does the card actually advertise what speeds it supports, or
is it more a matter of trying and if it does not support it, it rejects it.

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux