[CM] probs w/ snd and hammerfall

pete moss petemoss@petemoss.org
Wed, 13 Nov 2002 15:50:09 -0800


using this SNDLIB* call causes the problem below.  can you comment?

any idea when snd will support non-interleaved cards?

:P


Fernando Pablo Lopez-Lezcano wrote:
> The current alsa sound driver support for snd cannot handle
> non-interleaved cards (like the hammerfall). You could work around the
> problem by using the plughw alsa device instead of the hardware device.
> You can override snd's choice of device by setting an environment
> variable:
> 
> SNDLIB_ALSA_DEVICE="plughw:0" snd
> 
> Would start snd (under bash) pointing to the plug interface for the
> first card. The plug interface will do the conversion between
> interleaved and non-interleaved for you. 



************** snd error

[15:47:10] alsa_dump_configuration: status of plughw:0
hw_params status of plughw:0
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: [16 160000]
CHANNELS: [1 10000]
RATE: (5512 1537538)
PERIOD_TIME: (666 185760)
PERIOD_SIZE: 1024
PERIOD_BYTES: [2048 20480000]
PERIODS: 3
BUFFER_TIME: (1997 557330)
BUFFER_SIZE: 3072
BUFFER_BYTES: [6144 61440000]
TICK_TIME: 10000
sw_params status of plughw:0
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

[15:47:10] audio configuration not available: alsa_audio_open: plughw:0: 
cannot set channels to 2
[15:47:10] Caught top level error (this must be a Snd bug; will try to 
continue):