Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Archived:Payload conversion for G.729 audio format

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Code ExampleCompatibility
Platform(s): S60 3rd Edition
S60 3rd Edition (initial release)
Created: User:Technical writer 1 (05 Nov 2007)
Last edited: lpvalente (23 Nov 2012)


This article describes an approach to payload conversion for the G.729 audio format.


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.


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

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

This page was last modified on 23 November 2012, at 19:57.
91 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.