Re: [Ekiga-list] Fwd: Re: ekiga fails to use sound card, other?apps do, config help?



El día Tuesday, March 18, 2008 a las 10:02:41AM -0400, Steve Ames escribió:

> On Tue, Mar 18, 2008 at 08:59:17AM -0400, Mikhail Teterin wrote:
> > On ???????? 18 ???????? 2008, Matthias Apitz wrote:
> > = 
> > http://groups.google.com/group/bsdmailinglist/browse_frm/thread/4cfaad37e0dded68/28227b15e1fada84
> > = 
> > = and it _could_ be that the patch was mailed to the maintainer of the
> > = Ekiga port in FreeBSD:
> > [...]
> > = mi aldan algebra com, could you please comment on this? Thanks in
> > = advance;
> > 
> > Although I do maintain the Ekiga port, the patch mentioned at that link is for 
> > pwlib, which is maintained by Steve (CC-ed)... Steve?
> 
> Sure. Mr. Faber submitted a 1 line patch that has since been committed to
> the pwlib port:
> 
> files/patch-plugins-sound_oss-sound_oss_cxx:+      resampleRate = entry.resampleRate;
> 
> -steve

Thanks, Steve. I've had to apply this patch by hand to the port version
included in FreeBSD 6.2R (pwlib-1.10.1_2,1):

# diff -c sound_oss.cxx.orig sound_oss.cxx
*** sound_oss.cxx.orig  Tue Mar 18 15:24:54 2008
--- sound_oss.cxx       Tue Mar 18 15:25:06 2008
***************
*** 642,647 ****
--- 642,648 ----
          arg = val = (entry.numChannels == 2) ? 1 : 0;
          if (ConvertOSError(::ioctl(os_handle, SNDCTL_DSP_STEREO, &arg)) || (arg != val)) {
  
+           resampleRate = entry.resampleRate;
            mSampleRate = entry.sampleRate;
            arg = val = entry.sampleRate;
            if (ConvertOSError(::ioctl(os_handle, SNDCTL_DSP_SPEED,
&arg))) {

It really solves the problem and makes 'ekiga' useable for me for the
1st time. Thanks again

	matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias apitz oclc org> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html


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