code: public void Initialize(IAPEDecompress pAPEDecompress) {
          //uninitialize if it is currently initialized
          if (m_bInitialized)
              Uninitialize();
  
          if (pAPEDecompress == null) {
              Uninitialize();
              throw new JMACException("Error Initializing UnMAC");
          }
  
          //set the member pointer to the IAPEDecompress class
          m_pAPEDecompress = pAPEDecompress;
  
          //set the last decode frame to -1 so it forces a seek on start
          m_LastDecodedFrameIndex = -1;
  
          m_pAPEDecompressCore = new APEDecompressCore(pAPEDecompress);
          m_pPrepare = new Prepare();
  
          //set the initialized flag to TRUE
          m_bInitialized = true;
  
          m_wfeInput = m_pAPEDecompress.getApeInfoWaveFormatEx();
      }
docs: functions