Delete EchoTestHasAudio and EchoTestHasNoAudo signals and commands.

This commit is contained in:
Ghazi Triki 2018-02-23 08:43:56 +01:00
parent d36e448b40
commit 43cc31cb35
6 changed files with 1 additions and 54 deletions

View File

@ -1,10 +1,6 @@
package org.bigbluebutton.air.voice {
import org.bigbluebutton.air.voice.views.EchoTestViewMediatorAIR;
import org.bigbluebutton.lib.voice.commands.EchoTestHasAudioCommand;
import org.bigbluebutton.lib.voice.commands.EchoTestHasAudioSignal;
import org.bigbluebutton.lib.voice.commands.EchoTestHasNoAudioCommand;
import org.bigbluebutton.lib.voice.commands.EchoTestHasNoAudioSignal;
import org.bigbluebutton.lib.voice.commands.MicrophoneMuteCommand;
import org.bigbluebutton.lib.voice.commands.MicrophoneMuteSignal;
import org.bigbluebutton.lib.voice.commands.ShareMicrophoneCommand;
@ -48,8 +44,6 @@ package org.bigbluebutton.air.voice {
signalCommandMap.map(ShareMicrophoneSignal).toCommand(ShareMicrophoneCommand);
signalCommandMap.map(StartEchoTestSignal).toCommand(StartEchoTestCommand);
signalCommandMap.map(StopEchoTestSignal).toCommand(StopEchoTestCommand);
signalCommandMap.map(EchoTestHasAudioSignal).toCommand(EchoTestHasAudioCommand);
signalCommandMap.map(EchoTestHasNoAudioSignal).toCommand(EchoTestHasNoAudioCommand);
signalCommandMap.map(MicrophoneMuteSignal).toCommand(MicrophoneMuteCommand);
}
}

View File

@ -1,9 +0,0 @@
package org.bigbluebutton.lib.voice.commands {
import robotlegs.bender.bundles.mvcs.Command;
public class EchoTestHasAudioCommand extends Command {
public function EchoTestHasAudioCommand() {
super();
}
}
}

View File

@ -1,9 +0,0 @@
package org.bigbluebutton.lib.voice.commands {
import org.osflash.signals.Signal;
public class EchoTestHasAudioSignal extends Signal {
public function EchoTestHasAudioSignal() {
super();
}
}
}

View File

@ -1,9 +0,0 @@
package org.bigbluebutton.lib.voice.commands {
import robotlegs.bender.bundles.mvcs.Command;
public class EchoTestHasNoAudioCommand extends Command {
public function EchoTestHasNoAudioCommand() {
super();
}
}
}

View File

@ -1,9 +0,0 @@
package org.bigbluebutton.lib.voice.commands {
import org.osflash.signals.Signal;
public class EchoTestHasNoAudioSignal extends Signal {
public function EchoTestHasNoAudioSignal() {
super();
}
}
}

View File

@ -9,8 +9,6 @@ package org.bigbluebutton.lib.voice.views {
import flash.utils.Timer;
import org.bigbluebutton.lib.main.models.IMeetingData;
import org.bigbluebutton.lib.voice.commands.EchoTestHasAudioSignal;
import org.bigbluebutton.lib.voice.commands.EchoTestHasNoAudioSignal;
import org.bigbluebutton.lib.voice.commands.ShareMicrophoneSignal;
import org.bigbluebutton.lib.voice.commands.StartEchoTestSignal;
import org.bigbluebutton.lib.voice.commands.StopEchoTestSignal;
@ -25,12 +23,6 @@ package org.bigbluebutton.lib.voice.views {
[Inject]
public var startEchoTestSignal:StartEchoTestSignal;
[Inject]
public var echoTestHasAudioSignal:EchoTestHasAudioSignal;
[Inject]
public var echoTestHasNoAudioSignal:EchoTestHasNoAudioSignal;
[Inject]
public var shareMicrophoneSignal:ShareMicrophoneSignal;
@ -137,7 +129,6 @@ package org.bigbluebutton.lib.voice.views {
}
protected function yesButtonHandler(e:MouseEvent):void {
echoTestHasAudioSignal.dispatch();
stopEchoTest();
var audioOptions:Object = new Object();
@ -154,10 +145,8 @@ package org.bigbluebutton.lib.voice.views {
}
private function noButtonHandler(e:MouseEvent):void {
doingEchoTest = false;
stopEchoTest();
view.setTestingState(false);
stopEchoTestSignal.dispatch();
echoTestHasNoAudioSignal.dispatch();
testMicrophoneLoopback();
}