Date: Tue, 27 Jul 2010 19:14:38 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Ariff Abdullah <ariff@freebsd.org> Cc: freebsd-multimedia@freebsd.org Subject: Re: Audio phase inversion quirk? Message-ID: <201007271914.38228.hselasky@c2i.net> In-Reply-To: <20100728010405.0b85b13d.ariff@FreeBSD.org> References: <201007271804.23993.hselasky@c2i.net> <20100728010405.0b85b13d.ariff@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 27 July 2010 19:04:05 Ariff Abdullah wrote: > On Tue, 27 Jul 2010 18:04:23 +0200 > > Hans Petter Selasky <hselasky@c2i.net> wrote: > > Hi, > > > > I've discovered using my qecholo tool that many USB audio devices > > have switched the polarity of the audio signal. I guess not so many > > people are checking this, but I'm one of them :-) > > > > There is currently a quirk for switching left and right channels. Is > > there a sound stack quirk in FreeBSD for correcting the phase? This > > is just a matter of negating the samples before passing along to > > the application. > > How about make the driver advertise the opposite sign or endian as > supported formats? > > Sounds OK. Then I would just add the opposite sign like OR'ing a flag into the snd_fmt value? --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007271914.38228.hselasky>