Commit 29f285ac authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Reactivating mute capability for audio tracks.

parent e7722132
......@@ -63,18 +63,10 @@ public:
if ( enabled == m_enabled ) return;
m_enabled = enabled;
MainWorkflow::TrackType type;
if ( m_type == MainWorkflow::AudioTrack )
//TODO need audio support
//type = MainWorkflow::AudioTrack;
return;
else
type = MainWorkflow::VideoTrack;
if ( enabled )
MainWorkflow::getInstance()->unmuteTrack( m_trackNumber, type );
MainWorkflow::getInstance()->unmuteTrack( m_trackNumber, m_type );
else
MainWorkflow::getInstance()->muteTrack( m_trackNumber, type );
MainWorkflow::getInstance()->muteTrack( m_trackNumber, m_type );
}
bool trackEnabled()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment