the exchange of the capbility

nice
2004-07-05
2004-07-05
  • nice
    nice
    2004-07-05

    when I run the exe complied ,at once I found the message"stop the capbility".so I fixed the following code.  "if (dir == Encoder&&!isAcmEncoder) " in the file "myacmcodec.cxx"(line 119).
    Now sound greatly!!!

     
    • -=MaGGuS=-
      -=MaGGuS=-
      2004-07-05

      Ок, I have made some changes in the codec constructor. Now it looks like this:
      ___________________________________________
        // Do not initialize multiple instances of the codec
        if (dir == Encoder && !isAcmEncoder)
          isAcmEncoder = acm_init_encoder_g7321();
        else if(dir == Decoder && !isAcmDecoder)
          isAcmDecoder = acm_init_decoder_g7321();
        else
          return;

        codecDir = dir;
      ___________________________________________

       
    • -=MaGGuS=-
      -=MaGGuS=-
      2004-07-05

      Thanks for your fix!