![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Rate a MIME type
static AOMimetypeInspector media_filter =
{
    RateMimetype
};
This interface defines the functions required to determine if an filter can process data from a stream with the given mimetype. It defines a single function:
int32_t (*RateMimetype)(const char *mimetype);
This function should return a rating, from 0 to 100, of how sure you are that your addon can process data with the given mimetype. You can use RateMimetype() before you create a handle for a filter.
![]()  | 
As a guideline, multimedia rating functions in existing addons return 80 when they can process data. | 
Neutrino
AoExtInspector, AoFormatInspector, AoStreamInspector
Extending the Multimedia Framework.
![]()  | 
![]()  | 
![]()  | 
![]()  |