Namespaces

Variants
Actions

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:Differences in audio streaming configuration on the S60 3rd Edition devices (Known Issue)

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}}.

Nokia 3250 and Nokia 5500 Sport require customized audio stream configuration compared to the other S60 3rd Edition devices.

Article Metadata
Tested with
Devices(s): Nokia 3250, Nokia 5500 Sport
Compatibility
Platform(s): S60 3rd Edition
S60 3rd Edition (initial release)
Article
Created: User:Technical writer 1 (20 Aug 2007)
Last edited: hamishwillee (19 Jun 2012)

Description

Most of the S60 3rd Edition devices share similar audio hardware characteristics, and the same code for example for audio streaming works in all of them.
The most notable exceptions are the Nokia 3250 and Nokia 5500 Sport, which have some differences in their audio configuration. The values in the table below are relevant when using audio streaming classes, for example CMdaAudioOutputStream and CMdaAudioInputStream.

Nokia 3250 Nokia 5500 S60 3rd S60 2nd Ed*
Audio input buffer size (PCM) bytes 1600 4096 320
Default AMR-NB encoding mode (kbps) 12.2 5.15 5.15

(*)AMR streaming is supported from 2nd Ed, FP2 onwards

Solution

If a streaming application is targeted for all S60 3rd Edition devices and it uses CMdaAudioInputStream to record from a microphone, then the stream initialization and the buffer sizes may need to be adjusted specifically for 3250/5500, according to the table above.

This could be done either by compiling a custom engine/DLL version for these devices, and selecting the one to be used during installation (See SDK Help for information on MachineUid attribute in .pkg files). Alternatively, the required modifications could be made during runtime. MachineUID can be retrieved with HAL API.

MachineUIDs
0x200005F8   (Nokia 3250)
0x20000602   (Nokia 5500 Sport)

This page was last modified on 19 June 2012, at 00:45.
46 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.

×