From mboxrd@z Thu Jan 1 00:00:00 1970 From: Colin Guthrie Subject: "default" device. Is there a way to detect if it's a plugin, and if so which one? Date: Sun, 03 Apr 2011 13:22:34 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by alsa0.perex.cz (Postfix) with ESMTP id B105B2413B for ; Sun, 3 Apr 2011 14:22:57 +0200 (CEST) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q6MKP-0008Id-8S for alsa-devel@alsa-project.org; Sun, 03 Apr 2011 14:22:49 +0200 Received: from cpc1-sgyl30-2-0-cust258.sgyl.cable.virginmedia.com ([94.173.13.3]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Apr 2011 14:22:49 +0200 Received: from gmane by cpc1-sgyl30-2-0-cust258.sgyl.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Apr 2011 14:22:49 +0200 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: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Hi, If the user opens the "default" device in alsa, is there a way to find out if that "device" is actually a plugin? i.e. is it possible to tell if you have opened the pulseaudio plugin via alsa? There are various hacky ways (e.g. checking hints etc.) but that relies on downstream packaging which certainly isn't fool proof. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mageia Contributor [http://www.mageia.org/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/]