完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
本帖最后由 一只耳朵怪 于 2018-6-6 16:24 编辑
您好! 使用AM3517在Android2.2移植ALSA声卡驱动,在录音时总是提示RecordThread: buffer overflow错误,请问是什么原因引起的? --------- beginning of /dev/log/main I/DEBUG ( 794): debuggerd: Sep 17 2011 13:18:12 --------- beginning of /dev/log/system E/ALSALib ( 797): external/alsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) Invalid CTL AndroidPlayback W/AudioHardwareALSA( 797): Unable to attach mixer to device AndroidPlayback: No such file or directory E/ALSALib ( 797): external/alsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) Invalid CTL AndroidCapture W/AudioHardwareALSA( 797): Unable to attach mixer to device AndroidCapture: No such file or directory E/tiALSAModule( 797): ------------------------------------------------------------Open with TI ALSA module opened,use this TI ALSA module D/TIALSAModule( 797): TI ALSA module opened D/TIALSAModule( 797): Initializing devices for TI ALSA module I/CameraService( 797): CameraService started: pid=797 D/AudioHardwareALSA( 797): openOutputStream called for devices: 0x00000002 D/TIALSAModule( 797): open called for devices 00000002 in mode 0... E/ALSAControl( 797): Control 'HeadsetR Mixer AudioR2' cannot get element info: -2 E/ALSAControl( 797): Control 'HeadsetL Mixer AudioL2' cannot get element info: -2 E/TIALSAModule( 797): Initialized ALSA PLAYBACK device default I/AudioFlinger( 797): AudioFlinger's thread 0x1e288 ready to run D/TIALSAModule( 797): route called for devices 00000002 in mode 0... E/AudioHardwareALSA( 797): CALLING STANDBY E/AudioRecord( 943): set(): sampleRate 8000, channels 16, frameCount 0 E/AudioRecord( 943): AUDIO_SOURCE_MIC = 1 D/TIALSAModule( 797): open called for devices 00040000 in mode 0... E/ALSAControl( 797): Control 'Analog Left AUXL Capture Switch' cannot get element info: -2 E/ALSAControl( 797): Control 'Analog Right AUXR Capture Switch' cannot get element info: -2 E/ALSAControl( 797): Control 'Analog Capture Volume' cannot get element info: -2 E/TIALSAModule( 797): Initialized ALSA CAPTURE device default D/AcousticsModule( 797): Acoustics set_params stub called with 0. E/AudioFlinger( 797): openInput() openInputStream returned input 0x2b580, SamplingRate 8000, Format 1, Channels 10, acoustics 0, status 0 E/AudioFlinger( 797): openInput() created record thread: ID 2 thread 0xc3c8 D/dalvikvm( 850): GC_EXTERNAL_ALLOC freed 4290 objects / 260496 bytes in 194ms D/TIALSAModule( 797): route called for devices 00040000 in mode 0... W/AudioFlinger( 797): RecordThread: buffer overflow W/AudioFlinger( 797): RecordThread: buffer overflow W/AudioFlinger( 797): RecordThread: buffer overflow |
|
相关推荐
1个回答
|
|
你的错误E/ALSAControl( 797): Control 'Analog Right AUXR Capture Switch' cannot get element info: -2
来自alsa_sound/ALSAControl.cpp,应该是你的driver没有写好 如果我的回答解决了您的问题,请确认答案,谢谢!:) |
|
|
|
只有小组成员才能发言,加入小组>>
344 浏览 1 评论
539 浏览 2 评论
NA555DR VCC最低电压需要在5V供电,为什么用3.3V供电搭了个单稳态触发器也使用正常?
783 浏览 3 评论
MSP430F249TPMR出现高温存储后失效了的情况,怎么解决?
655 浏览 1 评论
对于多级放大电路板,在PCB布局中,电源摆放的位置应该注意什么?
1138 浏览 1 评论
AT32F407在USART2 DMA发送数据时,接包接到了要发送的数据,程序还是处于等待传输完成的标识判断中,为什么?
73浏览 29评论
235浏览 23评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
260浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
207浏览 14评论
两个TMP117传感器一个可以正常读取温度值,一个读取的值一直是0,为什么?
67浏览 13评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-26 01:17 , Processed in 1.018647 second(s), Total 81, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号