Re: [Alsa-user] query alsa for supported sample rates and formats?

2009-05-11 Thread Matt Garman
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.

Re: [Alsa-user] query alsa for supported sample rates and formats?

2009-05-11 Thread Jaroslav Kysela
On Mon, 11 May 2009, Matt Garman wrote: 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

Re: [Alsa-user] query alsa for supported sample rates and formats?

2009-04-17 Thread Clemens Ladisch
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. HTH Clemens /* * hw_params.c - print hardware capabilities * * compile with: gcc -o hw_params hw_params.c -lasound */ #include stdio.h

Re: [Alsa-user] query alsa for supported sample rates and formats?

2009-04-17 Thread Matt Garman
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. Works perfectly. That's exactly what I wanted. Thank you! Matt

[Alsa-user] query alsa for supported sample rates and formats?

2009-04-16 Thread Matt Garman
Is there a way to query alsa to see what sample rates and formats the sound hardware natively supports? Thanks, Matt -- Stay on top of everything new and different, both inside and around Java (TM) technology -

Re: [Alsa-user] query alsa for supported sample rates and formats?

2009-04-16 Thread Sergei Steshenko
On Thu, 16 Apr 2009 10:49:28 -0500 Matt Garman matthew.gar...@gmail.com wrote: Is there a way to query alsa to see what sample rates and formats the sound hardware natively supports? Thanks, Matt Something like this: cat /proc/asound/card0/codec#0 Codec: Realtek ALC883 Address: 0

Re: [Alsa-user] query alsa for supported sample rates and formats?

2009-04-16 Thread Matt Garman
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.gar...@gmail.com wrote: Is there a way to query alsa to see what sample rates and formats the sound hardware natively supports? Something like this: cat

Re: [Alsa-user] query alsa for supported sample rates and formats?

2009-04-16 Thread Sergei Steshenko
On Thu, 16 Apr 2009 12:50:34 -0500 Matt Garman matthew.gar...@gmail.com 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.gar...@gmail.com wrote: Is there a way to query alsa to see what sample rates and