What UID should we apply for plug-in based on MMF?

This is a discussion on What UID should we apply for plug-in based on MMF? within the Symbian forums in Other Technologies category; 1. What UID should we apply for the our plug-in? We are developing a controller plug-in based on MMF which is used for playi= ng AVI files. As we know, not all of the UID could be used for a controller= plug-in. We want to know what UID could we use for it? 2. What UID is able to alloc large memory and could be used for the plug-in= described abrove? We have made some test and found that, if we some UID, we can only alloc 8M= memory in total and will fail to alloc more memory. But if ...

Go Back   Application Development Forum > Other Technologies > Symbian

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 03-10-2008, 08:26 AM
robinzhu_augmentum
Guest
 
Default What UID should we apply for plug-in based on MMF?

1. What UID should we apply for the our plug-in?
We are developing a controller plug-in based on MMF which is used for playi=
ng AVI files. As we know, not all of the UID could be used for a controller=
plug-in. We want to know what UID could we use for it?

2. What UID is able to alloc large memory and could be used for the plug-in=
described abrove?
We have made some test and found that, if we some UID, we can only alloc 8M=
memory in total and will fail to alloc more memory. But if we don't use th=
ese UID, we can not make plug-in run correctly. We want to know is there an=
y UID both be available to the plug-in and be able to alloc large memory?
Reply With Quote
  #2  
Old 03-14-2008, 01:36 PM
markd
Guest
 
Default Re: What UID should we apply for plug-in based on MMF?

Hi,

+1. What UID should we apply for the our plug-in?+


You should request and own your UIDs. There is nothing special about partic=
ular UIDs and you should not reuse existing ones for the standard reason - =
matching should not depend on the UIDs. Matching is actually done by format=
s, which include the UID of the controller to use. There is a trick if you =
don't want a separate format class - the controller does not actually have =
to create the associated format, so we now write controllers where the form=
at exists as an associated resource only and is not subsequently used.

+2. What UID is able to alloc large memory and could be used for the plug-i=
n described above?+

Memory controllers normally have their own heap and the method is to state =
the maximum in its resource file - using the <a> flag. It does not re=
late to UIDs - I do not know where this comes from. However, to me 8MB soun=
ds like lots of memory, given that once allocated it is not reclaimed until=
the clip is closed. Having said that, there is I believe a maximum of 16MB=
..=20

Mark
Symbian=20


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 06:27 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.