On 28/01/13 10:32, Rob Landry wrote:
> 
> I have this card running on a Rivendell system and it plays wonderfully, 
> but I can't use the record input.
> 
> If I give it the following command:
> 
> arecord -t wav -r 44100 -c 2 -f S16_LE -D hw:1,0 bs.wav
> 
> I get:
> 
> arecord: set_params:1073: Sample format non available
> Available formats:
> - S32_LE
> 
> If I understand this right, it wants to record 32-bit (!) PCM. That can't 
> be right; is there a configuration setting I missed?

This apparently indicates that the card/driver only supports the
mentioned format.
If you want to record another format, you need to use the plughw device,
that will do the required conversion.

Here is an example where I ask for 24 bit pcm, which the card doesn't
support.  THe -v opption causes the print of the plugin conversion chain:

arecord -v -t wav -r 44100 -c 2 -f S24_LE -D plughw:0,0 bs.wav
Recording WAVE 'bs.wav' : Signed 24 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Linear conversion PCM (S32_LE)
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S24_LE
  subformat    : STD
  channels     : 2
  rate         : 44100
  etc
Slave: Hardware PCM card 0 'HDA Intel PCH' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : S32_LE
  subformat    : STD
  channels     : 2
  rate         : 44100
  etc

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to