Re: query alsa for supported sample rates and formats?

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

 



On Thu, 16 Apr 2009 12:50:34 -0500
Matt Garman <matthew.garman@xxxxxxxxx> wrote:

> On Thu, Apr 16, 2009 at 07:13:33PM +0300, Sergei Steshenko wrote:
> > On Thu, 16 Apr 2009 10:49:28 -0500 Matt Garman <matthew.garman@xxxxxxxxx> wrote:
> > > Is there a way to query alsa to see what sample rates and formats
> > > the sound hardware natively supports?
> > 
> > Something like this:
> > 
> > "
> > cat /proc/asound/card0/codec#0
> > ...
> 
> I snooped around in /proc/asound on two different machines, and
> couldn't find that exact file or even a comparable one.
> 
> -Matt
> 

Try to play something - maybe this or similar file is created when a
device is active.

And look into any file which appears to be text one.

Regards,
  Sergei.

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux