Excited to add audio to my Pi, and just finished assembling the boards.I see the device listed with arecord -l.
But, when I go to capture there is a read error. Any suggestions on how to troubleshoot appreciated.
pi@cam-09:~ $ sudo arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: audioinjectorul [audioinjector-ultra], device 0: bcm2835-i2s-cs4265-dai1 cs4265-dai1-0 [bcm2835-i2s-cs4265-dai1 cs4265-dai1-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
pi@cam-09:~ $ arecord --device="hw:0,0" -c2 -r 48000 -f S32_LE -t wav -V stereo -d 30 -v file_stereo.wav
Recording WAVE 'file_stereo.wav' : Signed 32 bit Little Endian, Rate 48000 Hz, Stereo
Hardware PCM card 0 'audioinjector-ultra' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S32_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 32
buffer_size : 24000
period_size : 6000
period_time : 125000
tstamp_mode : NONE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 6000
period_event : 0
start_threshold : 1
stop_threshold : 24000
silence_threshold: 0
silence_size : 0
boundary : 1572864000
appl_ptr : 0
hw_ptr : 0
arecord: pcm_read:2152: read error: Input/output error
pi@cam-09:~ $