From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 23:53:42 2006 Return-Path: X-Original-To: freebsd-multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 596FA16A49C for ; Tue, 3 Jan 2006 23:53:39 +0000 (GMT) (envelope-from barner@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 4DF8243E46 for ; Tue, 3 Jan 2006 23:52:17 +0000 (GMT) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 03 Jan 2006 23:52:06 -0000 Received: from unknown (EHLO zi025.glh.mhn.de) [129.187.43.241] by mail.gmx.net (mp014) with SMTP; 04 Jan 2006 00:52:06 +0100 X-Authenticated: #147403 Received: by zi025.glh.mhn.de (Postfix, from userid 1000) id 423FAC40B; Wed, 4 Jan 2006 00:52:05 +0100 (CET) Date: Wed, 4 Jan 2006 00:52:05 +0100 From: Simon Barner To: Ariff Abdullah Message-ID: <20060103235205.GA1099@zi025.glh.mhn.de> References: <20060103213654.GA1039@zi025.glh.mhn.de> <20060104055721.4182120e.skywizard@MyBSD.org.my> <20060103225947.GA2815@zi025.glh.mhn.de> <20060104073903.1c21146e.skywizard@MyBSD.org.my> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: <20060104073903.1c21146e.skywizard@MyBSD.org.my> User-Agent: Mutt/1.5.11 X-Y-GMX-Trusted: 0 Cc: freebsd-multimedia@FreeBSD.org, Simon Barner Subject: Re: snd_solo broken after big MFC to RELENG_6 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2006 23:53:43 -0000 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ariff Abdullah wrote: > On Tue, 3 Jan 2006 23:59:47 +0100 > Simon Barner wrote: > >=20 > > I did the following to enable vchans: > >=20 > > # kldunload snd_solo.ko > > # sysctl hw.snd.maxautovchans=3D2 > > # kldload snd_solo.ko > >=20 > > pcm0: 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) =3D=3D -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 =3D chn_reset(parent, AFMT_STEREO | AFMT_S16_LE= ); Hope this helps you, --=20 Best regards / Viele Gr=FC=DFe, barner@FreeBSD.= org Simon Barner barner@gmx.de --azLHFNyN32YCQGCU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDuw4kCkn+/eutqCoRAkX9AKDtXxVxw9mz0kOtp2Bb1pqifb+92gCgw6XL 72LofqNI/IKrwFbjmbVLoLY= =mxI3 -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU--