[Alsa-user] how do I change sample rate ?
Brought to you by:
perex
|
From: Sergei S. <ste...@li...> - 2008-04-26 23:52:00
|
Hello All, on the one hand, I see this: " sergei@z61m:~> grep -r 48000 /proc/asound /proc/asound/Intel/codec#0: rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000 /proc/asound/Intel/codec#0: rates [0x60]: 44100 48000 /proc/asound/Intel/codec#0: rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000 /proc/asound/card0/codec#0: rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000 /proc/asound/card0/codec#0: rates [0x60]: 44100 48000 /proc/asound/card0/codec#0: rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000 sergei@z61m:~> " - I think this means my card is capable of supporting 8000 11025 16000 22050 32000 44100 48000 sample rates. On the other hand, I see this: " sergei@z61m:~> amixer controls numid=2,iface=MIXER,name='Master Playback Switch' numid=1,iface=MIXER,name='Master Playback Volume' numid=4,iface=MIXER,name='PCM Playback Switch' numid=3,iface=MIXER,name='PCM Playback Volume' numid=8,iface=MIXER,name='CD Playback Switch' numid=7,iface=MIXER,name='CD Playback Volume' numid=9,iface=MIXER,name='Mic Boost' numid=6,iface=MIXER,name='Mic Playback Switch' numid=5,iface=MIXER,name='Mic Playback Volume' numid=12,iface=MIXER,name='Capture Source' numid=11,iface=MIXER,name='Capture Switch' numid=10,iface=MIXER,name='Capture Volume' numid=14,iface=MIXER,name='IEC958 Playback Con Mask' numid=15,iface=MIXER,name='IEC958 Playback Pro Mask' numid=16,iface=MIXER,name='IEC958 Playback Default' numid=13,iface=MIXER,name='IEC958 Playback Source' numid=17,iface=MIXER,name='IEC958 Playback Switch' numid=18,iface=MIXER,name='Digital Capture Volume' sergei@z61m:~> " - I think this means there are no sample rate switches. How do I change sample rate ? The card is AD1981, ALSA version is Advanced Linux Sound Architecture Driver Version 1.0.14 (Thu May 31 09:03:25 2007 UTC). - it's SUSE 10.3 on z61m laptop. Thanks, Sergei. |