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

Philippe Torrelli philippe.torrelli at alcatel.fr
Tue Oct 3 13:04:16 CEST 2006


Hi Mikael,

What you tell me confuses me, my point is that:

The portaudiodevice.cxx in trunk/libminisip/source/soundcard initializes 
inId and outId in the constructor from the same passed parameter 'Device'
...
Then PortAudioDevice::openRecord .. passes inId as the device to
Pa_OpenStream, 
And PortAudioDevice::openPlayback passes outId as the device to
pa_OpenStream...

Either the code I've compile dis not the right code to build the portaudio
plugin, or I've misunderstood something...

As I've no means now to check the latest versions, all this is probably
irrelevant actually.

Philippe



-----Message d'origine-----
De : minisip-devel-bounces at minisip.org
[mailto:minisip-devel-bounces at minisip.org] De la part de Mikael Magnusson
Envoyé : mardi 3 octobre 2006 12:22
À : minisip developers' mailing list
Objet : Re: Port Audio, sound level, and http access to svn ?

Philippe Torrelli wrote:
> Hello Mikael,
> 
> Yes I'm working with an older release, ( 2776 ) . 
> I suppose it didn't work for this version then.
> I'll try to update my repository this week-end.
> 

It's not that old, it contains the gui improvements of audio device 
settings, committed in r2632.

Mikael

> -----Message d'origine-----
> De : minisip-devel-bounces at minisip.org
> [mailto:minisip-devel-bounces at minisip.org] De la part de Mikael Magnusson
> Envoyé : lundi 2 octobre 2006 20:15
> À : minisip developers' mailing list
> Objet : Re: Port Audio, sound level, and http access to svn ?
> 
> Philippe Torrelli wrote:
> 
>>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
> 
> 
> The version in trunk has two separate settings for sound input and 
> output device.
> Which svn version is you using? Check with "svnversion -c .".
> 
> Mikael
> _______________________________________________
> Minisip-devel mailing list
> Minisip-devel at minisip.org
> http://lists.minisip.org/mailman/listinfo/minisip-devel
> 
> _______________________________________________
> Minisip-devel mailing list
> Minisip-devel at minisip.org
> http://lists.minisip.org/mailman/listinfo/minisip-devel

_______________________________________________
Minisip-devel mailing list
Minisip-devel at minisip.org
http://lists.minisip.org/mailman/listinfo/minisip-devel



More information about the Minisip-devel mailing list