Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2011 19:42:44 +0200
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        current@FreeBSD.org, multimedia@FreeBSD.org
Subject:   Re: dsp mmap change
Message-ID:  <20110506174244.GA3644@triton8.kn-bremen.de>
In-Reply-To: <4DC3B764.4030801@FreeBSD.org>
References:  <4DC3B764.4030801@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 06, 2011 at 11:55:00AM +0300, Andriy Gapon wrote:
> 
> I would like to ask for a review and/or testing of the following patch:
> http://people.freebsd.org/~avg/dev_dsp_mmap.diff
> 
> It's supposed to fix an issue described here:
> http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-February/011691.html
> 
> In short, the following pseudo-code should do the right thing:
> fd = open(/dev/dsp, O_RDWR);
> mmap(PROT_READ, fd);
> mmap(PROT_WRITE, fd);
> 
> Thank you!

Working here with skype 2.1.0.81 and pulseaudio without (and also
still with) disabline mmap for the mic.  Very nice! :)

 Note:  I had to disable the checkbox `Allow Skype to automatically
adjust my mixer levels', else it records garbage at least with my
mic.  (that is one of a webcam.)

 Thanx,
	Juergen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110506174244.GA3644>