812513240 发表于 2023-10-17 10:45:32

simple-audio-card创建的i2s虚拟声卡录制会报错



这是什么原因,我用的simple-audio-card创建的i2s虚拟声卡,播放没问题,录制会出现以下报错
/usr/bin/soundtest # arecord -D hw:0,0 -c 8 -r 44100 -f S16_LE --period-size=102
4 --buffer-size=4096 test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Channels 8
arecord: set_params:1403: Unable to install hw params:
ACCESS:RW_INTERLEAVED
FORMAT:S16_LE
SUBFORMAT:STD
SAMPLE_BITS: 16
FRAME_BITS: 128
CHANNELS: 8
RATE: 44100
PERIOD_TIME: (23219 23220)
PERIOD_SIZE: 1024
PERIOD_BYTES: 16384
PERIODS: 4
BUFFER_TIME: (92879 92880)
BUFFER_SIZE: 4096
BUFFER_BYTES: 65536
TICK_TIME: 0



[   55.468835] rockchip-i2s-tdm ff310000.i2s: Set mclk_rx: clk_i2s1_8ch_rx freq: 0 failed: -22
[   55.468901] rockchip-i2s-tdm ff310000.i2s: ASoC: can't set ff310000.i2s hw params: -22
感觉是3308驱动的bug


页: [1]
查看完整版本: simple-audio-card创建的i2s虚拟声卡录制会报错