Archived:Differences in audio streaming configuration on the S60 3rd Edition devices (Known Issue)
Nokia 3250 and Nokia 5500 Sport require customized audio stream configuration compared to the other S60 3rd Edition devices.
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
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.
0x200005F8 (Nokia 3250)
0x20000602 (Nokia 5500 Sport)