Re: query alsa for supported sample rates and formats?

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

 



On Fri, Apr 17, 2009 at 10:14:16AM +0200, Clemens Ladisch wrote:
> Matt Garman wrote:
> > Is there a way to query alsa to see what sample rates and
> > formats the sound hardware natively supports?
> 
> Try the attached program.

I get the following output when I run this for my M-Audio Audiophile
24/96.  No surprises: what led me to asking this question was my
observation that I couldn't play CD audio (S16_LE) using hw, and
have to use dmix or plughw.

Device: hw (type: HW)
Access types: MMAP_INTERLEAVED RW_INTERLEAVED
Formats: S32_LE
Channels: 10
Sample rates: 8000 11025 16000 22050 32000 44100 48000 64000 88200
96000
Interrupt interval: 20-409500 us
Buffer size: 20-819125 us

Now, before Clemens was nice enough to post that program, I posed
the same question on the M-Audio.com forums:

    http://forums.m-audio.com/showthread.php?p=38192

The response seems to suggest that the card should support more
formats.  Or perhaps I'm misreading the responses (or the tech that
answered the question doesn't really understand my question).

Thoughts?

Thanks again,
Matt


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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