summaryrefslogtreecommitdiff
path: root/src/model/pulsemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/pulsemodel.cpp')
-rw-r--r--src/model/pulsemodel.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/model/pulsemodel.cpp b/src/model/pulsemodel.cpp
index a677edc..640b918 100644
--- a/src/model/pulsemodel.cpp
+++ b/src/model/pulsemodel.cpp
@@ -596,7 +596,11 @@ void PulseModel::customEvent( TQCustomEvent *e )
if ( ev->cat == AudioDevice::Recording && ev->parentIndex != PA_INVALID_INDEX ) {
m_sourceOutputToSource.insert( ev->paIndex, ev->parentIndex );
PulseDevice *src = findDevice( m_sources, ev->parentIndex );
- if ( src ) src->adjustRecordingCount( +1 );
+ if ( src ) {
+ src->adjustRecordingCount( +1 );
+ connect( src, TQ_SIGNAL(levelChanged(float)),
+ dev, TQ_SIGNAL(levelChanged(float)) );
+ }
}
}
}