Symbian
Symbian OS Library

FAQ-1352 Is CMdaAudioOutputStream::SetPriority() protected with MultimediaDD capability?

[Index][spacer] [Previous] [Next]



 

Classification: C++ Category: Multimedia
Created: 02/01/2006 Modified: 02/21/2006
Number: FAQ-1352
Platform: Symbian OS v9.1

Question:
The documentation says that CMdaAudioOutputStream::SetPriority() is protected with MultimediaDD capability, but you don't get a warning on device or emulator even if you don't have this capability.

Answer:
No and yes.
You don't need MultimediaDD to set the priority of a client or audio stream. However, a client application with MultimediaDD will always have priority over one that does not.

The security threat is that rogue software might stop default applications (e.g. the phone application) from playing sounds like the ring and warning tones.

The phone application will have MultimediaDD and so cannot be prevented from playing sound by unsigned software. 3rd parties that want this capability will need to confirm to the manufacturer channel that their application doesn't over-rule the priority of the phone application or directly open the low-level sound driver.