From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 14 01:56:46 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF19916A4CE for ; Thu, 14 Oct 2004 01:56:46 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6652743D48 for ; Thu, 14 Oct 2004 01:56:46 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.11/8.12.11) id i9E1uj3G012337; Wed, 13 Oct 2004 20:56:45 -0500 (CDT) (envelope-from dan) Date: Wed, 13 Oct 2004 20:56:45 -0500 From: Dan Nelson To: shawnwebb@softhome.net Message-ID: <20041014015645.GB88757@dan.emsphone.com> References: <001201c4b224$fcd68320$65cfe404@shawns> <20041013210029.GA88757@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.3-BETA7 X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-hackers@freebsd.org Subject: Re: malloc calls and ioctl calls to soundcard cause segfault X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 01:56:46 -0000 In the last episode (Oct 13), shawnwebb@softhome.net said: > Thanks for pointing that out. The OSS documentation didn't go into > detail about what type of arg was needed for getospace, so I assumed > int. I just looked up SNDCTL_DSP_GETOSPACE in the PDF at http://www.opensound.com/pguide/index.html (it's on page 96 and describes the fields in audio_buf_info as well). -- Dan Nelson dnelson@allantgroup.com