From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 12 20:49:19 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 D57B61065676 for ; Mon, 12 Jan 2009 20:49:19 +0000 (UTC) (envelope-from mailnull@mips.inka.de) Received: from mail-in-12.arcor-online.net (mail-in-12.arcor-online.net [151.189.21.52]) by mx1.freebsd.org (Postfix) with ESMTP id 8C29C8FC0A for ; Mon, 12 Jan 2009 20:49:19 +0000 (UTC) (envelope-from mailnull@mips.inka.de) Received: from mail-in-07-z2.arcor-online.net (mail-in-07-z2.arcor-online.net [151.189.8.19]) by mail-in-12.arcor-online.net (Postfix) with ESMTP id CC16C4C558 for ; Mon, 12 Jan 2009 21:49:17 +0100 (CET) Received: from mail-in-08.arcor-online.net (mail-in-08.arcor-online.net [151.189.21.48]) by mail-in-07-z2.arcor-online.net (Postfix) with ESMTP id B8AC22C77C4 for ; Mon, 12 Jan 2009 21:49:17 +0100 (CET) Received: from lorvorc.mips.inka.de (dslb-092-075-219-186.pools.arcor-ip.net [92.75.219.186]) by mail-in-08.arcor-online.net (Postfix) with ESMTP id 7C4142BBA42 for ; Mon, 12 Jan 2009 21:49:17 +0100 (CET) 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 n0CKnHKr016752 for ; Mon, 12 Jan 2009 21:49: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 n0CKnHIt016751 for freebsd-multimedia@freebsd.org; Mon, 12 Jan 2009 21:49:17 +0100 (CET) (envelope-from mailnull) From: naddy@mips.inka.de (Christian Weisgerber) Date: Mon, 12 Jan 2009 20:49:16 +0000 (UTC) Message-ID: Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-multimedia@freebsd.org X-Virus-Scanned: ClamAV 0.94.1/8856/Mon Jan 12 17:36:19 2009 on mail-in-08.arcor-online.net X-Virus-Status: Clean Subject: snd_hda, mplayer, and S/PDIF pass-through 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: Mon, 12 Jan 2009 20:49:20 -0000 FreeBSD 8.0-CURRENT box with snd_hda audio. Since I recently got an AV receiver that supports AC3 and DTS decoding, I had to try S/PDIF pass-through. I followed the suggestions mav@ had previously provided here: * disable vchans (sysctl dev.pcm.2.play.vchans=0) * mixer vol 100 pcm 100 With this, "mplayer -ac hwac3" (or -ac hwdts) starts playing AC3 (DTS) audio tracks from DVD just fine, i.e., they are passed through the S/PDIF interface to the receiver which decodes them and confirms this with various status messages. However, once the audio stream is interrupted, e.g. by pausing playback, it cannot be restarted. mplayer resumes... and the receiver misdetects the audio as PCM 48 and produces the corresponding noise. Any ideas what's going there? -- Christian "naddy" Weisgerber naddy@mips.inka.de