From owner-freebsd-multimedia@FreeBSD.ORG Sat Jun 16 03:50:07 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF25016A46B for ; Sat, 16 Jun 2007 03:50:06 +0000 (UTC) (envelope-from nullpt@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id BFEAB13C455 for ; Sat, 16 Jun 2007 03:50:06 +0000 (UTC) (envelope-from nullpt@gmail.com) Received: by wa-out-1112.google.com with SMTP id j37so1424937waf for ; Fri, 15 Jun 2007 20:50:06 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=l2A0qiyGTl+mqztXylrm+aLFpYwCYk5cFJWcXiEZ9W0gZfY3L8VjCxhqKwAeGWyY4s77fNUlRSrOkktm+MpneT+a1O2TrFki4b6c3w7cWL8Yzayufi/K9b5xoHZEKx50u8AMthRsmHqh7u3xqnGDTavigpruLm+QZaVSIeSzNqo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=R1n5e4KypdxeNVHHZKnWSuKStLaJWfGAd4rFJIC662tGC24/0H4ukgmO3MKU3m0N0POLc/uDIsEiFuu3JC7KsFgsip9VgQVb1OWPAqR5YSmAY2b7b9LtALd5biG/qx4gsDfzLVcdI1nWwtIYTccMtabnF5DObxHdWY0eOJMlrdw= Received: by 10.114.190.6 with SMTP id n6mr3781149waf.1181965806322; Fri, 15 Jun 2007 20:50:06 -0700 (PDT) Received: by 10.115.60.5 with HTTP; Fri, 15 Jun 2007 20:50:06 -0700 (PDT) Message-ID: <755cb9fc0706152050t22241799o65ba04670078292b@mail.gmail.com> Date: Sat, 16 Jun 2007 04:50:06 +0100 From: "Alexandre Vieira" To: "Ariff Abdullah" In-Reply-To: <20070616095128.61a209e8.ariff@FreeBSD.org> MIME-Version: 1.0 References: <755cb9fc0706140427g46f8f666ke7a3882ad6f6404f@mail.gmail.com> <20070614200210.448b3665@deskjail> <755cb9fc0706141429y4c5d7724p687ff27e9a29440d@mail.gmail.com> <20070615094403.34630709.ariff@FreeBSD.org> <755cb9fc0706141919l2e765c57q4c1cf4265bbb8b68@mail.gmail.com> <20070615104116.2277702a.ariff@FreeBSD.org> <755cb9fc0706141956n516f842ciae53e27b43ef6485@mail.gmail.com> <755cb9fc0706150752m5b3811f4q8e934fe4dd188ce2@mail.gmail.com> <20070616095128.61a209e8.ariff@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: Follow up: Sound in multiple Linux progs 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: Sat, 16 Jun 2007 03:50:07 -0000 On 6/16/07, Ariff Abdullah wrote: > > On Fri, 15 Jun 2007 15:52:48 +0100 > "Alexandre Vieira" wrote: > > Hi, > > > > Just FYI. The modules from > > sndkld_releng6_i386_giant_eradication.tar.gz work perfectly and > > -CURRENT from 2 weeks ago is working fine too! > > > > I'm curious.. could you please take _latest_ (a must) binary/patch > from the usual place, set dev.pcm.0.rec.vchans=0 and do the test > again? > > > -- > Ariff Abdullah > FreeBSD > > ... Recording in stereo is obviously too advanced > and confusing for us idiot ***** users :P ........ > > Hi, I've fetched "sndkld_releng6_i386_giant_eradication.tar.gz 2007-Jun-15 23:59:16 426.4K application/x-gzip" from http://people.freebsd.org/~ariff/BINARY_MODULES/ . I'm using sound.ko and snd_via8233.ko. There is something strange with this test (or maybe this sysctls are not supposed to matter anymore): # sysctl -a | grep vchan hw.snd.maxautovchans: 0 dev.pcm.0.play.vchans: 0 dev.pcm.0.rec.vchans: 0 I've also tried different values as well. For example 1 (just in case 0 is unlimited vchans). I open TeamSpeak and Enemy Territory at the same time and they both work. I've additionaly ran amarok and played some mp3 at the same time. Everything works at the same time. # fstat /dev/ds* USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME alex amarokapp 9585 20 /dev 41 crw-rw-rw- dsp0.0 w /dev/dsp0.0 alex et.x86 9573 50 /dev 6 crw-rw-rw- dsp0.2 rw /dev/dsp0.2 alex TeamSpeak.bin 9564 21 /dev 40 crw-rw-rw- dspW0.1 rw /dev/dspW0.1 alex TeamSpeak.bin 9563 21 /dev 40 crw-rw-rw- dspW0.1 rw /dev/dspW0.1 alex TeamSpeak.bin 9562 21 /dev 40 crw-rw-rw- dspW0.1 rw /dev/dspW0.1 alex TeamSpeak.bin 9560 21 /dev 40 crw-rw-rw- dspW0.1 rw /dev/dspW0.1 alex TeamSpeak.bin 9559 21 /dev 40 crw-rw-rw- dspW0.1 rw /dev/dspW0.1 alex TeamSpeak.bin 9558 21 /dev 40 crw-rw-rw- dspW0.1 rw /dev/dspW0.1 alex TeamSpeak.bin 9557 21 /dev 40 crw-rw-rw- dspW0.1 rw /dev/dspW0.1 alex TeamSpeak.bin 9556 21 /dev 40 crw-rw-rw- dspW0.1 rw /dev/dspW0.1 alex TeamSpeak.bin 9555 21 /dev 40 crw-rw-rw- dspW0.1 rw /dev/dspW0.1 /usr/local/lib/teamspeak_client/TeamSpeak.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped /usr/local/bin/amarokapp: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), stripped /usr/local/lib/enemyterritory/et.x86: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), for GNU/Linux 2.0.30, dynamically linked (uses shared libs), stripped Cheers -- Alexandre Vieira - nullpt@gmail.com