[CM] snd-gtk-alsa "alsa_audio_open: could not set rate to exactly 44100, set to 3200 instead"

Sebastian Tennant sebyte@smolny.plus.com
Thu, 02 Feb 2006 12:43:12 +0000


Sebastian Tennant <sebyte@smolny.plus.com> wrote:

> I've finally got a rate converter to work.
>
> My ~/.asoundrc now looks like this:
>
>   #set Edirol UA-3FX as default hardware device for all alsa-aware apps
>   pcm.!default { type hw card 1 device 0 }
>   ctl.!default { type hw card 1 device 0 }
>
>   #force OSS apps to use Edirol UA-3FX too, (with 'aoss' command)
>   pcm.dsp0 { type plug slave.pcm "hw:1,0" }
>
>   #rate converter (needed by snd)
>   pcm.44k {
>     type plug
>          slave {
>            pcm "hw:1,0"
>            rate 44100
>          }
>   }
>
Actually, this is what happens when I try to use the 44k rate
converter (defined in my ~/.asoundrc).

  dellboy:~$ SNDLIB_ALSA_DEVICE="44k" /usr/bin/snd &
  [2] 6049

  ALSA lib pcm_params.c:2152:(snd_pcm_hw_refine_slave) Slave PCM not usable
  ALSA lib pcm_params.c:2152:(snd_pcm_hw_refine_slave) Slave PCM not usable

  [2]-  Segmentation fault      SNDLIB_ALSA_DEVICE="44k" /usr/bin/snd

So perhaps 44k doesn't work, or perhpas it does, but snd doesn't like
it?  I will continue bumping around in the dark :-/

Thanks for your help so far, by the way.

sdt