diff --git a/src/audio/alsalayer.cpp b/src/audio/alsalayer.cpp
index 6a81f798bd53c17cfb1775263a35d574de182add..b1b0dd69a6eef9e913d7b7d9fd7cdee912230a9d 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);