 
 import flash.events.Event;
 import flash.utils.ByteArray;
+import flash.utils.getTimer;
 
 import mx.core.ByteArrayAsset;
 import mx.core.UIComponent;

            assertTrue("outputFormat set to " + format, encoder.getOutputFormat() == format);
            assertTrue("outputLength = audioPcmAsset.length = " + audioPcmAsset.length, encoder.getOutputLength() == audioPcmAsset.length);
            assertTrue("output.length = audioPcmAsset.length = " + audioPcmAsset.length, output.length == audioPcmAsset.length);
            
            encoder.dispose(0);
        }
    

        [Test(description="Load audio asset")]
        public function testAudioLoad():void {
            
            var audioPcmAsset:ByteArrayAsset = new AudioPcm();
            assertTrue("embedded bytesAvailable", audioPcmAsset.bytesAvailable > 0);

