From owner-freebsd-ports@FreeBSD.ORG Thu Mar 11 18:24:10 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32A7316A4CE; Thu, 11 Mar 2004 18:24:10 -0800 (PST) Received: from ms-smtp-02-eri0.southeast.rr.com (ms-smtp-02-lbl.southeast.rr.com [24.25.9.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA01E43D31; Thu, 11 Mar 2004 18:24:09 -0800 (PST) (envelope-from jason@ec.rr.com) Received: from ec.rr.com (cpe-024-211-231-149.ec.rr.com [24.211.231.149]) i2C2O6kF006761; Thu, 11 Mar 2004 21:24:07 -0500 (EST) Message-ID: <40511F91.1020804@ec.rr.com> Date: Thu, 11 Mar 2004 21:25:21 -0500 From: Jason User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040210 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Ovens References: <4050C26C.4080801@ukug.uk.freebsd.org> In-Reply-To: <4050C26C.4080801@ukug.uk.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-questions@freebsd.org cc: freebsd-ports@freebsd.org Subject: Re: xmms: Digital Audio Extraction not working X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 02:24:10 -0000 Mark Ovens wrote: > [Followup-To: set to -questions] > > Please excuse the X-posting but I'm not sure which is the better list > for this problem. > > I've got 3 SCSI optical drives mounted in an external case so I can't > use an analogue audion cable but need to use DAE for playing CDs. The > drives support DAE as they all work in xmcd, but in xmms-1.2.10 I get > a stream of this error: > > Message: read_audio_data() failed: Inappropriate ioctl for device (25) > > Searching the mail archives I found this patch for libxine which, > after looking at the xmms source, appeared as though it might work; it > didn't (same error): > > #ifndef CDIOCREADAUDIO > struct ioc_read_audio > { > u_char address_format; > union msf_lba address; > int nframes; > u_char* buffer; > }; > > #define CDIOCREADAUDIO _IOWR('c',31,struct ioc_read_audio) > #endif > > Although that same code is in the xmcd source. > > I also tried the patch from PR ports/57198; that didn't work either > (same error). 57198 was closed because "Digital audio extraction using > ATAng is supported in xmms 1.2.9" implemented in PR ports/62127. > Either that only works for ATA drives or it got broken again in 1.2.10. > > What I suspect is that xmms is not correctly identifying the > capabilitie of my drives. > > Can anyone help me out, either with a patch they have that works or > point me in the right direction to try and fix it myself. xmcd is OK > but I prefer xmmx as it plays audio files as well and, havin 3 drives, > I can choose the drive in a running xmms whereas xmcd needs the drive > pecifying at start-up. > > TIA > > Regards, > > Mark > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Are you running current? If so upgrade to a more recent version, it has been fixed. If it is the stable release try current?