Speex codec implemented on Android

Source: Internet
Author: User

Previously used in the application of the Speex codec, recently summed up the implementation of Speex on Android. Speex is a set of audio compression formats primarily for voice-free, open-source, non-proprietary protection. The Speex project focuses on reducing the input threshold for voice applications by providing an alternative to high-performance speech codecs. In addition, relative to other codec, Speex is also very suitable for network applications, in the network application has its own unique advantages. At the same time, Speex is part of the GNU Project and is well supported in the revised BSD protocol. Speex is based on the CELP and is specifically designed for bitrate in 2-44kbps speech compression. Speex source code is based on the C voice implementation (there is also Java implementation, relatively low efficiency).

1, to Speex official website to download the latest Speex source code.

2. Create a new Android project and create a JNI folder.

3. Copy the Libspeex and include directories and their subdirectory files under the Speex source directory to the $project/jni directory.

4. Add the Android.mk file in the JNI directory and edit the content as follows

Speex codec implemented on Android

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.