[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:32:35 +0000


Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU> wrote:

> I was just suggesting you try it out without the .asoundrc file, not
> that you make that your permanent setup (ie: temporarily
> remove .asoundrc, use snd with plughw:1 and see what happens - I don't
> really expect changes but you never know). 

Yes, of course, sorry.  I disabled my ~/.asoundrc by renaming it to
~/.asoundrc(disabled) and called snd with the following command:

  $ SNDLIB_ALSA_DEVICE="plughw:1" /usr/bin/snd &

It launches OK but when I try to play the wav file (which incidentally
is quite large, I don't know if this has any bearing on things) I
received the following errors:

  [12:30:38] alsa_audio_open: plughw:1: could not set rate to exactly
  44100, set to 0 instead
  [12:30:38] alsa_dump_configuration: status of plughw:1
  hw_params status of plughw:1
  ACCESS:  RW_INTERLEAVED
  FORMAT:  S16_LE
  SUBFORMAT:  STD
  SAMPLE_BITS: 16
  FRAME_BITS: 32
  CHANNELS: 2
  RATE: (44101 44102)
  PERIOD_TIME: [1000 23219)
  PERIOD_SIZE: 1024
  PERIOD_BYTES: 4096
  PERIODS: 3
  BUFFER_TIME: [3000 69659)
  BUFFER_SIZE: 3072
  BUFFER_BYTES: 12288
  TICK_TIME: 1000
  sw_params status of plughw:1
  start_mode: DATA
  xrun_mode: STOP
  tstamp_mode: NONE
  period_step: 0
  sleep_min: 0
  avail_min: 0
  xfer_align: 0
  silence_threshold: 0
  silence_size: 0
  boundary: 0

  [12:30:38] alsa_audio_open: cannot set hardware parameters for plughw:1
  [12:30:38] can't play : alsa_audio_open: cannot set hardware parameters for plughw:1
  [12:30:38] can't play : alsa_audio_open: cannot set hardware parameters for plughw:1 

sdt