You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
792 B

2 years ago
  1. ```
  2. ## 显示可供使用的声卡
  3. arecord -l
  4. **** List of CAPTURE Hardware Devices ****
  5. XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
  6. card 0: rockchipes8388 [rockchip-es8388], device 0: dailink-multicodecs ES8323 HiFi-0 [dailink-multicodecs ES8323 HiFi-0]
  7. Subdevices: 1/1
  8. Subdevice #0: subdevice #0
  9. card 1: rockchiphdmiin [rockchip,hdmiin], device 0: fddf8000.i2s-dummy_codec hdmiin-dc-0 [fddf8000.i2s-dummy_codec hdmiin-dc-0]
  10. Subdevices: 1/1
  11. Subdevice #0: subdevice #0
  12. DC对应的声卡是 card 0: rockchipes8388 [rockchip-es8388]
  13. ## 录音指令
  14. arecord -Dhw:0,0 -d 10 -f S24_LE -r 48000 -c 2 -t wav test.wav
  15. ```