 package org.ilbc.codec {
 	
+	import flash.utils.Endian;
 	import cmodule.iLBC.CLibInit;
 	import flash.utils.getTimer;
 	import flash.utils.ByteArray;

		}
		
		/**
		 * Decodes an iLBC encoded audio stream to (specs??).
		 */
		public function decode(data:ByteArray):ByteArray {
			trace("ILBCCodec.decode(data):", data.length);
			
			encodedData = data;
			decodedData = new ByteArray();
			
			start();
			

		// ------------------------
		
		/**
		 * Encodes an (16 bit 8kHz) audio stream to iLBC.
		 */
		public function encode(data:ByteArray):ByteArray {
			trace("ILBCCodec.encode(data):", data.length);
			
			encodedData = new ByteArray();
			encodedData.endian = Endian.LITTLE_ENDIAN;
			decodedData = data;
			
			start();
