Port Audio, sound level, and http access to svn ?

Philippe Torrelli philippe.torrelli at alcatel.fr
Mon Oct 2 10:46:08 CEST 2006


Hi Cesc and list,

Back on track, I tried to sort out my audio problems ... 

I finally had mdsound working, but the playback was awfull ( very metallic,
almost un-audible ) even in G.711 with real sip phones, or x-lite ... and so
on.. Anyway The other party listening to my voice as sent by minisip had a
satisfying quality...  
Then I tried - as you suggested - to build a PortAudio driver...

I compiled the version 19 found on www.portaudio.com with support for asio,
WinMME , .... I then built a PaSoundDriver dll, changed in the .conf to pa:0
... 

Trying to use this dll, crashes happen. 
I investigated a bit to find out that the 'playback' stream returned by
portaudio's Pa_OpenStream was  NULL with result code paInvalidChannelCount
... Pa_OpenStream succeed for the 'input' stream...
I then tried with other Pa host api ( disabled all but directx with flags
PA_NO_ASIO PA_NO_WMME ), and it made no difference...

I then experimented a bit with portaudio's Pa_GetDeviceInfo, to find out
that my 0 device only has input channels ...  the first device here (
according to portaudio ) able to output sound is 3 ... 
But this one doesn't have input channel... 

So I'm puzzled by the fact it works for you using only one device ID for
both input and output stream ... I suppose it's PC dependant ? 

 I experimentally assigned InId and OutId in PortAudioDevice classes to
Pa_GetDefaultInputDevice()  and Pa_GetDefaultOutputDevice() .. and it seems
to work ok. 

The sound in the playback is now correct  but seems to be 'over saturated',
like if it was amplified a lot on the minisip side .. So I have a very good
quality if my buddy speaks very far from his telephone... 
Maybe something should resample and rescale values before it plays it back ?
Should I change my mixer - that is 'spatial' now .
Do you have a suggestion ? 

I tried to checkout and diff my current repository with the latest one.. 
But I have a problem now as the system and network administration team have
deployed a more restrictive security policy in our site, and  
now firewall the svn port.. 

Is there an http access to minisip svn repository ? 

Thanks in advance.

Philippe Torrelli



More information about the Minisip-devel mailing list