diff --git a/src/net/java/sip/communicator/impl/neomedia/device/MediaDeviceSession.java b/src/net/java/sip/communicator/impl/neomedia/device/MediaDeviceSession.java
index 917b1ae9c..f56fb3ebf 100644
--- a/src/net/java/sip/communicator/impl/neomedia/device/MediaDeviceSession.java
+++ b/src/net/java/sip/communicator/impl/neomedia/device/MediaDeviceSession.java
@@ -629,6 +629,15 @@ public AbstractMediaDevice getDevice()
return device;
}
+ /**
+ * Gets the MediaDirection in which this instance has been started.
+ * For example, a MediaDirection which returns true for
+ * allowsSending() signals that this instance is capturing media
+ * from its MediaDevice.
+ *
+ * @return the MediaDirection in which this instance has been
+ * started
+ */
public MediaDirection getStartedDirection()
{
return startedDirection;
@@ -900,10 +909,11 @@ private void processorControllerUpdate(ControllerEvent event)
if (format != null)
setFormat(processor, format);
- if(NeomediaActivator
- .getMediaServiceImpl()
- .getLocalSoundLevelListeners().size()
- > 0)
+ if (true
+ && (NeomediaActivator
+ .getMediaServiceImpl()
+ .getLocalSoundLevelListeners().size()
+ > 0))
{
// here we add sound level indicator for captured media
// from the microphone if there are interested listeners