From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: Detecting if a pcm device is a digital or analog one Date: Fri, 25 Jun 2010 10:21:33 +0200 Message-ID: <4C24670D.4010501@ladisch.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by alsa0.perex.cz (Postfix) with ESMTP id F280D1039A3 for ; Fri, 25 Jun 2010 10:21:42 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Jean-Yves Avenard Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Jean-Yves Avenard wrote: > I was wondering if there was any way to accurately distinguish between > audio device, if it has an analog or a digital output. Not really. There are devices where the same stream is routed to both analog and digital outputs, and sometimes the driver cannot know if there is a DAC further down the line. In any case, this would be very hardware specific. What do you need this for? Regards, Clemens