From 4cc4c405bf1ebfa4d4defe938b80e63b27fe6f1c Mon Sep 17 00:00:00 2001
From: Alexandre Savard <alexandre.savard@savoirfairelinux.net>
Date: Thu, 26 Feb 2009 17:16:27 -0500
Subject: [PATCH] Alsa PCM_PLUGHW only for capture

---
 src/audio/alsalayer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/audio/alsalayer.cpp b/src/audio/alsalayer.cpp
index 6a81f798bd..b1b0dd69a6 100644
--- a/src/audio/alsalayer.cpp
+++ b/src/audio/alsalayer.cpp
@@ -103,7 +103,7 @@ AlsaLayer::openDevice (int indexIn, int indexOut, int sampleRate, int frameSize,
 
     ost::MutexLock lock( _mutex );
     
-    std::string pcmp = buildDeviceTopo( PCM_PLUGHW , indexOut , 0);
+    std::string pcmp = buildDeviceTopo( plugin , indexOut , 0);
     std::string pcmc = buildDeviceTopo( PCM_PLUGHW , indexIn , 0);
 
     return open_device( pcmp , pcmc , stream);
-- 
GitLab