Jump to content

Recommended Posts

Posted

Hi everyone!

 

I am struggling with audio input.

 

Output audio from LINEOUT pins works fine out-of-the-box!

 

What about the audio input?
To begin with I have tested the arecord command with these error messages…

 

TEST 1

root@rockpi-s:~# arecord -f S16_LE -d 10 -r 16000 --device=“hw:0,0” test-mic.wav
Recording WAVE ‘test-mic.wav’ : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
arecord: set_params:1358: Channels count non available

 

TEST 2

root@rockpi-s:~# arecord -f S16_LE -c 2 -d 10 -r 16000 --device=“hw:0,0” test-mic.wav
Recording WAVE ‘test-mic.wav’ : Signed 16 bit Little Endian, Rate 16000 Hz, Stereo
arecord: set_params:1416: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 16000
PERIOD_TIME: 125000
PERIOD_SIZE: 2000
PERIOD_BYTES: 8000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 8000
BUFFER_BYTES: 32000
TICK_TIME: 0

 

Any suggestions?

Posted (edited)

Hi again!

 

Todays update:

 

When doing the dmesg command it returns the following below.
How to interpret these error messages?

 

root@rockpi-s:~# dmesg
[  375.793438] rockchip-i2s-tdm ff320000.i2s: ASoC: error at snd_soc_dai_hw_params on ff320000.i2s: -22
[  375.793546]  ff320000.i2s-rk3308-hifi: ASoC: error at __soc_pcm_hw_params on ff320000.i2s-rk3308-hifi: -22

Edited by danj

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines