From owner-freebsd-current@FreeBSD.ORG Tue Apr 6 23:35:48 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6627216A4CE; Tue, 6 Apr 2004 23:35:48 -0700 (PDT) Received: from neo.samodelkin.net (samodelkin.net [81.176.202.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCA0F43D45; Tue, 6 Apr 2004 23:35:45 -0700 (PDT) (envelope-from fjoe@neo.samodelkin.net) Received: by neo.samodelkin.net (Postfix, from userid 1000) id A016856D; Wed, 7 Apr 2004 13:34:58 +0700 (NOVST) Date: Wed, 7 Apr 2004 13:34:58 +0700 From: Max Khon To: deischen@freebsd.org Message-ID: <20040407063458.GB59267@samodelkin.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i cc: current@freebsd.org cc: sos@freebsd.org Subject: Re: CDIOCREADAUDIO ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2004 06:35:48 -0000 Hello! On Tue, Apr 06, 2004 at 07:06:51PM -0400, Daniel Eischen wrote: > So a few months ago, sos removed CDIOCREADAUDIO from . > Now that I'm porting the latest xmcd, it wants to use that > command. Why was it removed and what is its replacement? There was another method for reading audio data: reading /dev/acd0[c] directly (e.g. using pread(2)). Look at ports/audio/cdparanoia/files/patch-interface-cooked_interface.c. Please note that this patch uses #ifdef's but it is not necessary because using pread works perfectly in RELENG_4 (an dmaybe earlier, I did not check). Regards, /fjoe