From owner-freebsd-multimedia@FreeBSD.ORG Sun Feb 8 17:09:25 2009 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67D0B1065674 for ; Sun, 8 Feb 2009 17:09:25 +0000 (UTC) (envelope-from mailnull@mips.inka.de) Received: from mail-in-07.arcor-online.net (mail-in-07.arcor-online.net [151.189.21.47]) by mx1.freebsd.org (Postfix) with ESMTP id 1C1E88FC0C for ; Sun, 8 Feb 2009 17:09:24 +0000 (UTC) (envelope-from mailnull@mips.inka.de) Received: from mail-in-16-z2.arcor-online.net (mail-in-16-z2.arcor-online.net [151.189.8.33]) by mx.arcor.de (Postfix) with ESMTP id 548C72CE987 for ; Sun, 8 Feb 2009 18:09:18 +0100 (CET) Received: from mail-in-03.arcor-online.net (mail-in-03.arcor-online.net [151.189.21.43]) by mail-in-16-z2.arcor-online.net (Postfix) with ESMTP id 43CF12541AA for ; Sun, 8 Feb 2009 18:09:18 +0100 (CET) Received: from lorvorc.mips.inka.de (dslb-092-075-206-000.pools.arcor-ip.net [92.75.206.0]) by mail-in-03.arcor-online.net (Postfix) with ESMTPS id EEF632C3105 for ; Sun, 8 Feb 2009 18:09:17 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.6.0 mail-in-03.arcor-online.net EEF632C3105 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.14.3/8.14.3) with ESMTP id n18H9Hf1011815 for ; Sun, 8 Feb 2009 18:09:17 +0100 (CET) (envelope-from mailnull@lorvorc.mips.inka.de) Received: (from mailnull@localhost) by lorvorc.mips.inka.de (8.14.3/8.14.3/Submit) id n18H9HUW011814 for freebsd-multimedia@freebsd.org; Sun, 8 Feb 2009 18:09:17 +0100 (CET) (envelope-from mailnull) From: naddy@mips.inka.de (Christian Weisgerber) Date: Sun, 8 Feb 2009 17:09:17 +0000 (UTC) Message-ID: Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-multimedia@freebsd.org X-Virus-Scanned: ClamAV 0.94.2/8965/Sun Feb 8 15:42:44 2009 on mail-in-03.arcor-online.net X-Virus-Status: Clean Subject: XMMS vs S/PDIF passthrough? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2009 17:09:25 -0000 Setup: 8.0-CURRENT, snd_hda(4), S/PDIF output connected to AV receiver. What works: * MPlayer's AC-3/DTS passthrough for playing DVDs * XMMS's digital audio extraction for playing audio CDs What doesn't work: Using XMMS to play a DTS CD. The receiver fails to recognize the signal as DTS and interprets it as PCM 44.1 kHz => noise. Ripping a track and using XMMS to play the .wav produces the same result. For those who don't know, a DTS CD is just like a normal audio CD, except the audio stream isn't really the usual PCM but actually DTS. The CD player doesn't know or care, though, it can just pass the stream through the S/PDIF interface. No additional encapsulation, rate change, or other transformation needs to be performed. This should work _in principle_. (It also does on OpenBSD.) XMMS just needs to send the bit-exact digital audio stream and the receiver will take care of the DTS decoding. But somehow the audio data is munged along the way. Ideas? -- Christian "naddy" Weisgerber naddy@mips.inka.de