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