Re: [linux-audio-user] Setting hardware sample rate of VIA 8237

From: Cesare Marilungo <cesare@email-addr-hidden>
Date: Fri Feb 02 2007 - 22:36:23 EET

Joel Roth wrote:
> Hi LAU'ers,
>
> How do I set the hardware sample rate(s) of my
> VIA 8237 AC97 sound card?
>
> Seems like a FAQ, yet I'm having trouble finding
> a reference.
>
> Alsamixer does not have an item for this.
>
> .asoundrc seems to support sample rate _conversion_
> but not setting the hardware rate.
>
> I think I find some reference to a some pcm_set_sample_rate
> function in the Alsa libraries, but would rather not write
> my own utility for this.
>
> Below follows some data from /proc/asound/V8237/codec97#0/ac97#0-0
> Thanks for any suggestions.
>
> --Joel
>
> 0-0/0: VIA Technologies VIA1617A
> [...]
> Current setup
> [...]
> ADC/DAC loopback : off
> Double rate slots: 10/11
> Extended ID : codec=0 rev=2 LDAC SDAC CDAC DSA=0 SPDIF DRA VRA
> Extended status : LDAC SDAC CDAC SPDIF=3/4 SPDIF VRA
> PCM front DAC : 48000Hz
> PCM Surr DAC : 48000Hz
> PCM LFE DAC : 48000Hz
> PCM ADC : 22050Hz
> SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
>
>
Probably, 48000Hz is the only sample rate supported by your sound card:

http://lalists.stanford.edu/lau/2006/06/0459.html

Ciao,

c.

-- 
http://www.cesaremarilungo.com
Received on Sat Feb 3 00:15:02 2007

This archive was generated by hypermail 2.1.8 : Sat Feb 03 2007 - 00:15:02 EET