From owner-freebsd-current@FreeBSD.ORG Thu Sep 18 23:05:49 2003 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 6CE0216A4B3 for ; Thu, 18 Sep 2003 23:05:49 -0700 (PDT) Received: from spider.deepcore.dk (cpe.atm2-0-56339.0x50c6aa0a.abnxx2.customer.tele.dk [80.198.170.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A9F643FB1 for ; Thu, 18 Sep 2003 23:05:48 -0700 (PDT) (envelope-from sos@spider.deepcore.dk) Received: from spider.deepcore.dk (localhost [127.0.0.1]) by spider.deepcore.dk (8.12.9/8.12.9) with ESMTP id h8J65gj5032346; Fri, 19 Sep 2003 08:05:42 +0200 (CEST) (envelope-from sos@spider.deepcore.dk) Received: (from sos@localhost) by spider.deepcore.dk (8.12.9/8.12.9/Submit) id h8J65fZW032345; Fri, 19 Sep 2003 08:05:41 +0200 (CEST) From: Soren Schmidt Message-Id: <200309190605.h8J65fZW032345@spider.deepcore.dk> In-Reply-To: <20030919010255.I775@kushnir1.kiev.ua> To: Vladimir Kushnir Date: Fri, 19 Sep 2003 08:05:41 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL99f (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 X-mail-scanned: by DeepCore Virus & Spam killer v1.3 cc: current@FreeBSD.ORG Subject: Re: What's happened to CDIOCREADAUDIO & friends? 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: Fri, 19 Sep 2003 06:05:49 -0000 It seems Vladimir Kushnir wrote: > > The right way of doing audio graps has been to set the wanted blocksize > > with CDRIOCSETBLOCKSIZE (not needed if all tracks on the CD is of > > the same size), then just read from the device. Ioctl's was newer meant > > to be used to read/write data, its also faster to use the R/W path... > > > > Ok, perhaps, but ioctls seem to be more usual way and it's a bit > simpler... Still, I'm just user... Rather unhappy now :-( I disagree, but that another matter.. How about just doing: dd if=/dev/acdXtY of=trackY bs=2352 Now that cant be simpler and is already present... > Together with sys/cdio.h, where both ioc_read_audio and CDIOCREADAUDIO are > declared I'll get rid of those... -Søren