title
Products            Buy            Support Forum            Professional            About            Codec Central
 
Results 1 to 2 of 2

Thread: Speex codec

  1. #1
    Alex

    Speex codec

    Hello guys,

    I have accidentally bumped into this forum while trying to find some info on Speex codec. I would really appreciate if someone helps me to resolve some issues how to use this codec.

    here is some info.

    I am using Dialogic T1 card to receive voice (mu-law, 64Kbit / sec). Every time the application accumulates 1536 bytes of voice, it needs to compress and send it over IP.

    I am stuck how to use Speex to compress it. The function looks like this:

    void CompressAndSend (const char* cData, int iLength = /*1536*/ )
    {
    // What am I supposed to write here to compress it correctly?
    }

    thanks a lot

  2. #2
    Administrator
    Join Date
    Apr 2002
    Posts
    39,050

    Re: Speex codec

    Get the SDK and look at the example command line encoder, at its basis it has a loop that feeds data into the codec.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •