pianyu / 0xdroid

Automatically exported from code.google.com/p/0xdroid
0 stars 0 forks source link

[devkit8000] sound record does not work. #140

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
some errors:
1.when i use linphone :
W/AudioFlinger(  791): RecordThread: buffer overflow
W/AudioFlinger(  791): RecordThread: buffer overflow
W/AudioFlinger(  791): RecordThread: buffer overflow
W/AudioFlinger(  791): RecordThread: buffer overflow
W/AudioFlinger(  791): RecordThread: buffer overflow
W/AudioFlinger(  791): RecordThread: buffer overflow
W/AudioFlinger(  791): RecordThread: buffer overflow

2.when i use ringdroid
E/audio_input(  792): unsupported parameter: 
x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_vae
E/audio_input(  792): VerifyAndSetParameter failed
E/PVOMXEncNode(  792): PVMFOMXEncNode-Audio_AMRNB::DoPrepare(): Got Component 
OMX.PV.amrencnb handle 
D/ALSAModule(  792): open called for devices 00040000 in mode 0...
E/ALSALib (  792): external/alsa-lib/src/pcm/pcm.c:2201:(snd_pcm_open_noupdate) 
Unknown PCM AndroidCapture
I/ALSAModule(  792): Initialized ALSA CAPTURE device default
D/AcousticsModule(  792): Acoustics set_params stub called with 7.
D/ALSAModule(  792): route called for devices 00040000 in mode 0...
D/dalvikvm( 1132): GC freed 11315 objects / 558856 bytes in 58ms
D/ALSAModule(  792): route called for devices 00000000 in mode 0...
D/ALSAModule(  792): open called for devices 00000000 in mode 0...
E/ALSALib (  792): external/alsa-lib/src/pcm/pcm.c:2201:(snd_pcm_open_noupdate) 
Unknown PCM AndroidCapture
I/ALSAModule(  792): Initialized ALSA CAPTURE device default
D/AcousticsModule(  792): Acoustics close stub called.
E/audio_input(  792): unsupported parameter: 
x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_vae
E/audio_input(  792): VerifyAndSetParameter failed
I/StatusBarPolicy(  828): received intent android.intent.action.TIME_TICK
I/StatusBarPolicy(  828): received intent android.intent.action.TIME_TICK

and i try set:
alsa_amixer cset numid=19,iface=MIXER,name='Analog Capture Volume' 5
alsa_amixer cset numid=28,iface=MIXER,name='Analog Left AUXL Capture Switch' 1
alsa_amixer cset numid=29,iface=MIXER,name='Analog Left Carkit Mic Capture 
Switch' 1
alsa_amixer cset numid=27,iface=MIXER,name='Analog Left Headset Mic Capture 
Switch' 1
alsa_amixer cset numid=26,iface=MIXER,name='Analog Left Main Mic Capture 
Switch' 1
alsa_amixer cset numid=25,iface=MIXER,name='Analog Right AUXR Capture Switch' 1
alsa_amixer cset numid=24,iface=MIXER,name='Analog Right Sub Mic Capture 
Switch' 1
alsa_amixer cset numid=31,iface=MIXER,name='TX1 Capture Route' 0
alsa_amixer cset numid=17,iface=MIXER,name='TX1 Digital Capture Volume' 31
alsa_amixer cset numid=30,iface=MIXER,name='TX2 Capture Route' 0
alsa_amixer cset numid=18,iface=MIXER,name='TX2 Digital Capture Volume' 31
================>
but no use.......

Original issue reported on code.google.com by kelvinji...@gmail.com on 6 Aug 2010 at 1:08

GoogleCodeExporter commented 9 years ago

Original comment by jserv.tw@gmail.com on 8 Aug 2010 at 9:58

GoogleCodeExporter commented 9 years ago
Hi kelvinji, Have you tried the latest kernel, omap3-2.6.32 branch? this issue 
may be a duplicate as Issue #136.

Original comment by ShunYu.C...@gmail.com on 8 Aug 2010 at 1:15

GoogleCodeExporter commented 9 years ago
HI Chang,
   Today,i modify the driver,and make ringdroid and alsa_aplay work well.But linphone still have the problem:
W/AudioFlinger(  791): RecordThread: buffer overflow
W/AudioFlinger(  791): RecordThread: buffer overflow
W/AudioFlinger(  791): RecordThread: buffer overflow
W/AudioFlinger(  791): RecordThread: buffer overflow
W/AudioFlinger(  791): RecordThread: buffer overflow
W/AudioFlinger(  791): RecordThread: buffer overflow
W/AudioFlinger(  791): RecordThread: buffer overflow

I think this problem may be caused by oss which linphone use.Tomorrow , i will 
test the oss api,and check that oss can work well or not.

Thank you very much.

Original comment by kelvinji...@gmail.com on 9 Aug 2010 at 3:04

GoogleCodeExporter commented 9 years ago
HI chang,
    I have checked:
    Aduio full duplex is OK.It seems like that the linphone's BUG.Could you explain how "RecordThread: buffer overflow" occured for me?
    Thank you very much.
                                              kelvinji

Original comment by kelvinji...@gmail.com on 10 Aug 2010 at 12:47

GoogleCodeExporter commented 9 years ago
HI chang,
    I had make sure that it's linphone's bug and i had fix it.
    Thank you very much.
                                           kelvinji

Original comment by kelvinji...@gmail.com on 11 Aug 2010 at 2:03

GoogleCodeExporter commented 9 years ago
Close as kelvinji suggested.

Original comment by jserv.tw@gmail.com on 11 Aug 2010 at 2:36

GoogleCodeExporter commented 9 years ago
Hi kelvinji, I have same problem when use linphone-android. Can you tell me how 
to fix it?

Original comment by babod...@gmail.com on 11 Nov 2010 at 5:35

GoogleCodeExporter commented 9 years ago
HI babodode,
   I have no more time to fix it up all.I just make the sound Continuous,but there is some noise.I will fix it up later,because i have many other work to do.
Best Regards
Kelvin Ji

Original comment by kelvinji...@gmail.com on 12 Nov 2010 at 2:42