bad sound with pulseaudio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I solved the problem.

There problem was in old portaudio version that comes with pjsip. I 
downloaded the last stable version pa_stable_v19_20111121.tgz , November 
21, 2011, SVN rev 1788. and replaced /third_party/portaudio with it. To 
build with this version we should remove line with pa_skeleton.o in 
/third_party/build/portaudio/Makefile


#### Patch data follows ####
diff -c 'Makefile.old' 'Makefile'
Index: ./Makefile.old
*** ./Makefile.old Tue Jul 29 15:42:20 2008
--- ./Makefile Sun May 6 00:04:33 2012
***************
*** 15,21 ****
pa_debugprint.o \
pa_front.o \
pa_process.o \
- pa_skeleton.o \
pa_stream.o \
pa_trace.o

--- 15,20 ----
#### End of Patch data ####

Benny, can You update pjsip to use the last stable portaudio version?

Best regards,
Mihail Laba


03.05.2012 20:08, Mihail Laba ???????:
> Hello
> I'm developing a softphone under linux kubuntu 11.10, pjsip 1.12 and 
> found a strange behavior.
> If set softphone to use microphone via pulseaudio then other side will 
> hear sound with distortion.
>
> my sound devices are:
> 0: PA [HDA Intel: ALC882 Analog (hw:0,0)] (2/8)
> 1: PA [HDA Intel: ALC882 Digital (hw:0,1)] (0/2)
> 2: PA [HDA Intel: ALC882 Analog (hw:0,2)] (2/0)
> 3: PA [front] (0/8)
> 4: PA [surround40] (0/8)
> 5: PA [surround41] (0/128)
> 6: PA [surround50] (0/128)
> 7: PA [surround51] (0/8)
> 8: PA [surround71] (0/8)
> 9: PA [iec958] (0/2)
> 10: PA [spdif] (0/2)
> 11: PA [pulse] (32/32)
> 12: PA [dmix] (0/2)
> 13: PA [default] (32/32)
>
>
> If i set mic to [HDA Intel: ALC882 Analog (hw:0,0)] then everything is 
> ok, because this is bypass pulseaudio mixer.
> If set mic to [pulse] or [default], softphone will be in pulseaudio 
> mixer and then sound goes with distortion.
>
> I tested it on several computers and there was the same bug.
>
> I also tested twinkle, another softphone that uses portuadio and there 
> was not such problem, so I guess the root of problem is in portuadio 
> version or in the pjsip.
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux