From owner-freebsd-multimedia Tue Nov 19 11:23:43 2002 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 E433437B401 for ; Tue, 19 Nov 2002 11:23:42 -0800 (PST) Received: from wrzx35.rz.uni-wuerzburg.de (wrzx35.rz.uni-wuerzburg.de [132.187.3.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 862AA43E4A for ; Tue, 19 Nov 2002 11:23:35 -0800 (PST) (envelope-from q@uni.de) Received: from wrzx30.rz.uni-wuerzburg.de (wrzx30.rz.uni-wuerzburg.de [132.187.1.30]) by wrzx35.rz.uni-wuerzburg.de (8.8.8/8.8.8/uniwue-MM-1.05) with ESMTP id UAA11170 for ; Tue, 19 Nov 2002 20:23:27 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by virusscan.rz.uni-wuerzburg.de (Postfix) with ESMTP id 610B842478 for ; Tue, 19 Nov 2002 20:23:27 +0100 (CET) Received: from wrzx07.rz.uni-wuerzburg.de (wrzx07.rz.uni-wuerzburg.de [132.187.1.7]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id 4239A42477 for ; Tue, 19 Nov 2002 20:23:27 +0100 (CET) Received: from frodo.galgenberg.net (galgenberg.net [132.187.222.250]) by wrzx07.rz.uni-wuerzburg.de (Postfix) with SMTP id 230793FF8 for ; Tue, 19 Nov 2002 20:23:27 +0100 (CET) Received: (qmail 74836 invoked from network); 19 Nov 2002 19:23:26 -0000 Received: from gb-007.galgenberg.net (HELO roadrunner) (132.187.222.7) by galgenberg.net with SMTP; 19 Nov 2002 19:23:26 -0000 From: "Ulrich 'Q' Spoerlein" To: Alexander Leidinger Cc: Heiko Recktenwald , freebsd-multimedia@FreeBSD.ORG Subject: Re: [mpeg4ip - Open Discussion] RE: about the mp4live's video capture card??? (fwd) Date: Tue, 19 Nov 2002 20:23:26 +0100 Organization: Hier koennte Ihre Werbung stehen! Message-ID: <0n3ltuc85rdtkj1mcd228ua46mll4dk974@4ax.com> References: <20021119184557.7bf20a60.Alexander@Leidinger.net> In-Reply-To: <20021119184557.7bf20a60.Alexander@Leidinger.net> X-Mailer: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS snapshot-20020422 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 19 Nov 2002 18:45:57 +0100, you wrote: >> Now back to the sources then the audio_oss_source.cpp ought to work on FreeBSD >> too. Is there any difference between the Linux OSS API and the FreeBSD one ? > >If the audio device is mmap()ed, then you have to be carefull. My short >advise without seeing the code: do everything (ioctl()s) you can do >before the mmap(). And even then, there may be a ioctl() which you have >to do before another... I don't remember what I fixed in quakeforge1 to >get it working, but it was something like the above. sorry, but your fix was incomplete. the problem is not the ioctls, but the mmap() call on -STABLE needs read/write access to the sound-device (don't ask me why). the problem doesn't occur on -CURRENT. see the thread on -multimedia "mmap'ed sound buffer doesn't work in -stable, but works in -current" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message