From what I can gather about this chip, it is frequency locked at 
48000. Hence
the driver or application must perform all sample rate conversion. The 
alsa driver
seems incapable of this, however several applications can do it: 
mplayer, mpg123
and xmms (w/plugins, such as Crossfade Plugin) work fine for me.

Regarding the sound quality, on a scale of poor-fair-good-excellent, I 
would rate
it 'fair' without much hope of improvement. This is not a driver issue, 
in my opinion,
but rather it is simply a case of cheap hardware.

I use the 0.9 driver and used to hear clicks. I adjusted the mixer as 
follows and
now I don't notice any more weird noises:

Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right 
  Limits: Playback 0 - 31 
  Front Left: Playback 26 [84%] [on] 
  Front Right: Playback 26 [84%] [on] 
Simple mixer control 'Master Mono',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31 
  Mono: Playback 0 [0%] [off] 
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right 
  Limits: Playback 0 - 31 
  Front Left: Playback 0 [0%] [off] 
  Front Right: Playback 0 [0%] [off] 
Simple mixer control '3D Control - Center',0
  Capabilities: volume volume-joined pswitch
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 15
  Mono: 0 [0%] Playback [on] 
Simple mixer control '3D Control - Depth',0
  Capabilities: volume volume-joined pswitch
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 15
  Mono: 0 [0%] Playback [on] 
Simple mixer control '3D Control - Switch',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off] 
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right 
  Limits: Playback 0 - 31 
  Front Left: Playback 26 [84%] [on] 
  Front Right: Playback 26 [84%] [on] 
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 31 
  Front Left: Playback 26 [84%] [on] Capture [on] 
  Front Right: Playback 26 [84%] [on] Capture [on] 
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 31 
  Front Left: Playback 0 [0%] [off] Capture [off] 
  Front Right: Playback 0 [0%] [off] Capture [off] 
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined 
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 15 
  Mono: Playback 0 [0%] [off] 
  Front Left: Capture [off] 
  Front Right: Capture [off] 
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off] 
Simple mixer control 'Video',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 31 
  Front Left: Playback 0 [0%] [off] Capture [off] 
  Front Right: Playback 0 [0%] [off] Capture [off] 
Simple mixer control 'Phone',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined 
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 15 
  Mono: Playback 0 [0%] [off] 
  Front Left: Capture [off] 
  Front Right: Capture [off] 
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 15 
  Mono: Playback 0 [0%] [off] 
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 31 
  Front Left: Playback 0 [0%] [off] Capture [off] 
  Front Right: Playback 0 [0%] [off] Capture [off] 
Simple mixer control 'Capture',0
  Capabilities: volume pswitch pswitch-joined
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: 0 - 15
  Front Left: 13 [87%] Playback [on] 
  Front Right: 13 [87%] Playback [on] 
Simple mixer control 'Mix',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right 
  Front Left: Capture [off] 
  Front Right: Capture [off] 
Simple mixer control 'Mix Mono',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right 
  Front Left: Capture [off] 
  Front Right: Capture [off] 
Simple mixer control 'ADC/DAC Loopback',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off] 
Simple mixer control 'External Amplifier Power Down',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off] 

As you can see, most of the available devices are muted. This may or may not
have solved the clicking/noise problem, I don't remember.

However, I do remember this: under WinXP, the default mixer volume for PCM
was set way too high; this produced the clicking/noise problem (and 
worse!). By
lowering the volume I eliminated the noise. That experience led me to 
adjust the
alsa mixer and now the noise is gone for Linux, too.

My system:

Shuttle AK31A (Via 266a)
Athlon XP 1600
256 DDR RAM
TNT2 w/Nvidia drivers
ATI TV-Wonder
Linux 2.4.17
XFree86 4.1.0

I hope this is useful for you.

Todd

Stefan Lange wrote:

> Hi,
> I'm using the ac97-codec for the onboard sound of my motherboard. It's 
> an EPOX 8KHA+ with VIA KT266A chipset, with a 8233 southbridge. I'm 
> using the snd-via8233 driver from current cvs. It works, but there are 
> some quality issues:
>
> The sampling rate seems to be locked at 48 kHz
> the snd_ac97_clock option doesn't seem to work for changing the rate 
> to 44.1 kHz
> I changed xmms to output 48 kHz, which made quality a lot better. Is 
> that a hardware or a driver limitation?
>
> Although playback is quite OK with 48 kHz, there a some really 
> annoying "blips and clicks" now and then. I didn't investigate that 
> very thoroughly, but I think I didn't hear these clicks using win98 on 
> the same machine, so I assume it's a driver issue.
>
> Am I missing out something, or is it the driver's fault?
>
> Thanks in advance
>
> Stefan
>
> Please CC me, as I'm not subscribed to the list
>
> _______________________________________________
> Alsa-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>




_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to