snd_solo broken after big MFC to RELENG_6
Simon Barner
barner at FreeBSD.org
Tue Jan 3 15:53:43 PST 2006
Ariff Abdullah wrote:
> On Tue, 3 Jan 2006 23:59:47 +0100
> Simon Barner <barner at FreeBSD.org> wrote:
> >
> > I did the following to enable vchans:
> >
> > # kldunload snd_solo.ko
> > # sysctl hw.snd.maxautovchans=2
> > # kldload snd_solo.ko
> >
> > pcm0: <ESS Solo-1 (unknown vendor)> port
> > 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb80f,0xbc00-0xbc03,0xc000-0xc0
> > 03 irq 10 at device 20.0 on pci0 pcm0: [GIANT-LOCKED]
> > pcm0: vchan_create(pcm0:play:0) == -1
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Pretty much what I need :)
Ok, great. Meanwhile, I also did some investigations (I couldn't resist ;-)
and came up with the following (good old printf debugging..)
The error occurs around line 439 of vchan.c, and goes away as soon as
I replace AFMT_S16_LE with AFMT_U16_LE. Of course, this does not solve
my problem, since mplayer also mumbles something about S16_LE. I'm not
too familiar with audio formats, but I guess it is something about
16 bits and signed integers...
if (!err)
err = chn_reset(parent, AFMT_STEREO | AFMT_S16_LE);
Hope this helps you,
--
Best regards / Viele Grüße, barner at FreeBSD.org
Simon Barner barner at gmx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20060104/39e3c592/attachment.bin
More information about the freebsd-multimedia
mailing list