Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    使用自带codec录音报错, arecord: pcm_read:2072: read error: I/O error

    MR Series
    1
    1
    122
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • augus.sun
      augus.sun LV 3 last edited by

      这个有很多原因,其中一个就是mic功能没有打开,需要在arecord之前打开mic,例如v853
      的操作:

      root@(none):/# amixer cset name='MIC1 Switch' on
      root@(none):/# arecord -D hw:0,0 -f S16_LE -r 16000 -c 1 -d 30 /tmp/test.wav

      1 Reply Last reply Reply Quote Share 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策