- 收藏
- 点赞
- 分享
- 举报
rv11126中的音频测试
SDK版本:RV1126_RV1109_LINUX_SDK_V2.2.6_20231228 使用的是A191型rv1126核心板上的音频接口
接入麦克风的正极和负极,查看录制设备 arecord -l,如下:
[root@RV1126_RV1109:/mycode]# arecord -l
List of CAPTURE Hardware Devices
card 7: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 7: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
运行官方的音频./rkmedia_ai_test 报错如下
Device: default
SampleRate: 16000
Channel Count: 2
Frame Count: 1024
Volume: 50
Output Path: /tmp/ai.pcm
SampleFmt: 1
RKMEDIA Log level: 2
[RKMEDIA][SYS][Info]:text is all=2
[RKMEDIA][SYS][Info]:module is all, log_level is 2
[RKMEDIA][SYS][Info]:RK_MPI_AI_EnableChn: Enable AI[0] Start…
[RKMEDIA][SYS][Info]:AlsaCaptureStream: Layout 0, output chan 2, alsa chan 2
ALSA lib confmisc.c:767:(parse_card) cannot find card ‘0’
ALSA lib conf.c:4554:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4554:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4554:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5033:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2685:(snd_pcm_open_noupdate) Unknown PCM default
[RKMEDIA][SYS][Info]:audio open error: No such file or directory
[RKMEDIA][SYS][Info]:AlsaCaptureStream::Open() failed
[RKMEDIA][VI][Info]:Create stream alsa_capture_stream failed
[RKMEDIA][VI][Info]:#SourceStreamFlow[]: stream off….
[RKMEDIA][VI][Info]:#SourceStreamFlow[]: read thread exit sucessfully!
[RKMEDIA][VI][Info]:#SourceStreamFlow[]: stream reset sucessfully!
[RKMEDIA][SYS][Error]:Create flow source_stream failed
Enable AI[0] failed! ret=-41
有没有哪位调试过核心板上的音频接口?是需要修改哪些东西吗
最终实现音频的采集以及播放
求助各位!!!!
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
-
2023-12-20 14:52:23
-
2018-12-04 16:43:41
-
2014-02-20 14:05:22
-
2020-07-28 19:22:11
-
2022-06-09 10:14:13
-
2023-02-20 17:54:12
-
2020-09-23 10:57:13
-
2019-12-11 17:14:07
-
2020-03-24 15:30:19
-
2024-02-01 10:58:52
-
2018-12-06 10:22:06
-
2020-09-25 17:10:11
-
2022-06-09 10:17:47
-
2023-11-23 17:52:26
-
2019-01-29 16:35:46
-
2018-02-08 10:24:52
-
2024-10-08 15:35:20
-
2023-09-13 11:14:46
-
2020-03-20 08:51:45
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明