Subject: Re: misc/30044: Problem using skype in netbsd with default
To: None <jmcneill@netbsd.org, gnats-admin@netbsd.org,>
From: Jared D. McNeill <jmcneill@invisible.ca>
List: netbsd-bugs
Date: 04/24/2005 15:05:02
The following reply was made to PR misc/30044; it has been noted by GNATS.
From: "Jared D. McNeill" <jmcneill@invisible.ca>
To: gnats-bugs@netbsd.org
Cc: misc-bug-people@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: misc/30044: Problem using skype in netbsd with default
settings.
Date: Sun, 24 Apr 2005 12:04:00 -0300
On Sun, 2005-04-24 at 03:30 +0000, viktor@netbsd.se wrote:
> >Synopsis: Soundcard is not by default in full-duplex mode, and
> causing trouble with skype and possible other applications using full
> duplex feature.
I'm able to reproduce this issue on my test system. Looks like the bug
has existed for over 7 years.
Looking at some of the Linux OSS code, it seems that they default the
audio device to full-duplex mode if the device was opened read/write. We
currently don't do this (it's commented out in sys/dev/audio.c):
sc->sc_full_duplex = 0;
/* doesn't always work right on SB.
(flags & (FWRITE|FREAD)) == (FWRITE|FREAD) &&
(hw->get_props(sc->hw_hdl) & AUDIO_PROP_FULLDUPLEX);
*/
Proposal to change this odd behaviour was sent to tech-kern; waiting for
feedback.
Cheers,
Jared