You Are Here:

Community: Wiki

This page was last modified on 6 November 2008, at 11:00.

TSS000776 - Payload conversion for G.729 audio format

From Forum Nokia Wiki


ID TSS000776 Creation date November 5, 2007
Platform S60 3rd Edition Devices
Category Symbian C++ Subcategory Audio, VoIP, APS


Keywords (APIs, classes, methods, functions):

Description

G.729 Audio data recorded on S60 devices is encoded in 16-bit aligned frame format. For example, a single G.729 full rate frame with 80 bits (10 bytes) of payload, takes 22 bytes when encoded on an S60 device. An additional 2-byte header with frame type information is used in the beginning, bringing the total frame length to 24 bytes. When playing back G.729 data, the audio device expects the frames to be in this 24-byte format as well.

Details of the G.729 frame format are described in the Audio Proxy Server specification document.

For VoIP applications using G.729, this means that conversion is required between the two frame formats.

Solution

A reference implementation for compressing a 22-byte G.729 payload to 10 bytes (and vice versa) is available here.

The code can handle also SID frames (for VAD support as specified in G.729 Annex B).

Related Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia