From owner-freebsd-multimedia@FreeBSD.ORG Thu Apr 17 10:54:39 2003 Return-Path: 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 A297C37B404 for ; Thu, 17 Apr 2003 10:54:39 -0700 (PDT) Received: from puma.icir.org (puma.icir.org [192.150.187.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D94543FA3 for ; Thu, 17 Apr 2003 10:54:39 -0700 (PDT) (envelope-from hodson@puma.icir.org) Received: from puma.icir.org (localhost [127.0.0.1]) by puma.icir.org (8.12.8p1/8.12.3) with ESMTP id h3HHsanR076833; Thu, 17 Apr 2003 10:54:38 -0700 (PDT) (envelope-from hodson@puma.icir.org) Message-Id: <200304171754.h3HHsanR076833@puma.icir.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.3 To: Rahul Siddharthan From: Orion Hodson In-Reply-To: Your message of "Wed, 16 Apr 2003 02:05:45 EDT." <20030416060545.GA97662@online.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 17 Apr 2003 10:54:36 -0700 Sender: hodson@icir.org cc: multimedia@freebsd.org Subject: Re: alsaplayer port X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2003 17:54:40 -0000 /-- Rahul Siddharthan wrote: | I'm trying to port alsaplayer (http://www.alsaplayer.org), and | presently have it working on sound files, but not on CD audio. | | The port is at http://rsidd.online.fr/alsaplayer.tar.bz2 | | The cdda input plugin requires which, of course, we | don't have. I don't know anything about how to deal with this: any | pointers/help? | | The program has some nice features, in particular pitch control -- you | can even play audio backwards. Also, it plays CDs (on linux) by | ripping them and then playing through the regular dsp device, which is | unconventional but I have selfish reasons for liking that: my internal | soundcard is broken and I can only play CDs by outputting to an | external (USB) sound device, which normal CD player programs can't do. I can suggest some starting points: o The FreeBSD cd ioctls are contained in sys/cdio.h and sys/cdrio.h. o the source code for cdcontrol in ${SRC}/usr.sbin/cdcontrol shows how to control the CD device. o The FreeBSD ports version of grip (I don't know about the original) has the relevant DAE magic that'll facilitate ripping and playing immediately out of the pcm device. Cheers - Orion