From owner-freebsd-ports@FreeBSD.ORG Thu Mar 11 11:47:57 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 955B416A4CE; Thu, 11 Mar 2004 11:47:57 -0800 (PST) Received: from smtp.nildram.co.uk (smtp.nildram.co.uk [195.112.4.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33F6043D31; Thu, 11 Mar 2004 11:47:57 -0800 (PST) (envelope-from mark@ukug.uk.freebsd.org) Received: from ukug.uk.freebsd.org (parish.gotadsl.co.uk [62.3.235.43]) by smtp.nildram.co.uk (Postfix) with ESMTP id 82282276BE3; Thu, 11 Mar 2004 19:47:47 +0000 (GMT) Message-ID: <4050C26C.4080801@ukug.uk.freebsd.org> Date: Thu, 11 Mar 2004 19:47:56 +0000 From: Mark Ovens User-Agent: Mozilla Thunderbird 7.0 (X11/20040307) X-Accept-Language: en-us, en MIME-Version: 1.0 Followup-To: freebsd-questions@freebsd.org To: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: 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: Thu, 11 Mar 2004 19:47:57 -0000 [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