This page was last modified 10:39, 18 June 2008.
TSS000260 - Support for full-duplex audio in the S60 platform
From Forum Nokia Wiki
Support for full-duplex audio in the S60 platform |
TSS000260 | |
Overview | Starting from S60 2nd Edition, Feature Pack 2, a number of S60 devices are based on hardware that supports full-duplex audio (simultaneous playback and recording). | |
Reported against | S60 2nd Edition, Feature Pack 2 and onwards | |
Date identified | June 23, 2005, updated June 18, 2008 | |
Symptoms | - | |
Detailed description | Full-duplex audio is enabled by initializing two audio streams (one for playback and one for recording) and using custom audio priority and preference values for each stream. These values are different in S60 2nd and 3rd Edition platforms.
Audio APIs that can be used for full-duplex operation: * Two CMMFDevSound instances * CMdaAudioOutputStream + CMdaAudioInputStream * Audio Proxy Server (S60 3rd Ed) * VoIP Audio Services (S60 3rd Ed, FP1 and FP2) | |
How to reproduce | Trying to create a second audio stream while another client is already using the audio device will result in the KErrInUse error. Or, if the second client has a higher priority, the first one will be stopped with the KErrDied error value. | |
Solution | Below are the audio priority (TInt) and preference (TMdaPriorityPreference) values needed for enabling full-duplex audio on S60 3rd Edition and S60 2nd Edition, FP2 or FP3
#ifdef __SERIES60_3X__ #define KFullDuplexAudioPrefOutput 0x05220001 #define KFullDuplexAudioPrefInput 0x05210001 #else // S60 2nd Edition FP2 + FP3 #define KFullDuplexAudioPrefOutput 0x01350001 #define KFullDuplexAudioPrefInput 0x01360001 #endif #define KFullDuplexAudioPriority 99 For more information and example code, see S60 Platform: Full-Duplex Audio Example on Forum Nokia. | |
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HELP! Handling Call!! | joseph.m | General Symbian C++ | 13 | 2008-07-28 11:33 |
| For DTMF reception full duplex modem needed?? | conian | General Symbian C++ | 3 | 2008-08-08 07:32 |
| CMMFDevSound support play and record at the same time? | lotton | Symbian Media (Graphics & Sounds) | 1 | 2007-08-04 07:18 |
| Nokia firmware versions vs. Symbian API (case Truphone) | knorring | General Symbian C++ | 2 | 2007-05-08 23:35 |
| Capability needed for audio input streaming | tkaihock | Symbian Media (Graphics & Sounds) | 5 | 2006-05-31 13:28 |

