prakash1307 / siphon

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

iPhone OS 4.0 robotic voice (compilation) #402

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Have anybody test it on iPhone OS 4? Sound is not clear on other end, it is
like robotic voice. i am testing it on 3G device updated to OS 4.0.

Original issue reported on code.google.com by rizwan.s...@gmail.com on 3 Jun 2010 at 3:02

GoogleCodeExporter commented 8 years ago
Yes, I found the same on 3GS.

Original comment by steve.mo...@gmail.com on 3 Jun 2010 at 11:20

GoogleCodeExporter commented 8 years ago
Do you have this issue with siphon on cydia or did you compile by yourself 
Siphon ?

Original comment by samuelv0...@gmail.com on 4 Jun 2010 at 6:16

GoogleCodeExporter commented 8 years ago
Compile by myself, i tested with pjSip 1.5 and 1.0-rc2. Both has same problem.
Same build works properly on old iPhone OS.

Original comment by rizwan.s...@gmail.com on 4 Jun 2010 at 9:07

GoogleCodeExporter commented 8 years ago

Original comment by samuelv0...@gmail.com on 5 Jun 2010 at 2:17

GoogleCodeExporter commented 8 years ago
It seems problem in AudioQueue configuration, any clue?

Original comment by rizwan.s...@gmail.com on 11 Jun 2010 at 7:43

GoogleCodeExporter commented 8 years ago
I observed the same problem on both 3G and 3GS. Any ideas?

Original comment by dbei...@gmail.com on 22 Jun 2010 at 7:54

GoogleCodeExporter commented 8 years ago
This is due to old audio implementation, try audio driver using audio_dev 

Original comment by rizwan.s...@gmail.com on 24 Jun 2010 at 7:04

GoogleCodeExporter commented 8 years ago
Having the same issue on 3G updated to 4.0.
Tried iphone_dev.c - the same

Original comment by frankcha...@gmail.com on 27 Jun 2010 at 5:43

GoogleCodeExporter commented 8 years ago
I got the same robotic voice on iPhone OS 4 usigin pjSip 1.5.5 and 1.6.

Original comment by mfujih...@gmail.com on 28 Jun 2010 at 10:36

GoogleCodeExporter commented 8 years ago
This error cause by the iOS4 and iOS3 call recAQBufferCallback & 
playAQBufferCallback as different frequence. iOS3 is more often than iOS4,  so 
in iOS4, pjsip delaybuf need more buffer. To define the macro 
PJMEDIA_SOUND_BUFFER_COUNT  in your config_site.h should correct this problem, 
36 or 48 is tested for OK. 
 Further, as Apple SDK, to get low latency or control the audio more carefully,  Audio Unit SDK SHOULD be used,  but it seems too difficult for me.

Original comment by sanit.p...@gmail.com on 29 Jul 2010 at 6:18

GoogleCodeExporter commented 8 years ago
I have defined PJMEDIA_SOUND_BUFFER_COUNT in config.h
But there is the same robotic voice. Has nebody solved this issue.

Original comment by itm.cr...@gmail.com on 25 Aug 2010 at 6:44

GoogleCodeExporter commented 8 years ago
you need redefine the macro in config_site.h not in config.h

Original comment by sanit.p...@gmail.com on 25 Aug 2010 at 9:40

GoogleCodeExporter commented 8 years ago
Thanks sanit.peng I tried redefining the MACRO in config_site.h and it solved 
the problem. No robotic voice anymore. 
The only problem I see now is a considerable delay of the incoming voice. 1-2 
seconds.
I tried both 36 y 48 with no difference. Do you have any idea why this could be 
happening?

Thanks!

Don't know if this is related with this macro, thats why Im asking you here and 
not in a different Issue, also didn't found this issue reported.

Original comment by nunezlo...@gmail.com on 27 Aug 2010 at 11:49

GoogleCodeExporter commented 8 years ago
Can we deliberately change a recorded voice into a robot's voice this way? Or 
is there a way to fake it?

Original comment by xiuli...@gmail.com on 23 Sep 2010 at 5:12

GoogleCodeExporter commented 8 years ago
Its not a nice faked robotic voice, practically you cant hear anything without 
the MACRO and you define the MACRO in the pjsip which you have to compile 
before using it on you app, so I guess you can't use this Macro to deliberately 
chage it.

I don't know a way to fake it, I guess, as sanit.peng says, using Apple Audio 
Unit SDK whould give you enough control to fake it.

Original comment by nunezlo...@gmail.com on 23 Sep 2010 at 5:18

GoogleCodeExporter commented 8 years ago
I'm using iphone 3GS, just apply patch 
http://code.google.com/p/siphon/downloads/detail?name=patch-audioqueue-dev-20100
312.txt&can=2&q= y works fine. 

But iphone 4 with iOS 4.1 the problem returns, the robot voice reappears.

Original comment by pepel...@gmail.com on 4 Oct 2010 at 3:59