Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
AOMimetypeInspector
Rate a MIME type
Synopsis:
static AOMimetypeInspector media_filter =
{
RateMimetype
};
Description:
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:
RateMimetype()
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. |
Classification:
Neutrino
See also:
AoExtInspector, AoFormatInspector, AoStreamInspector
Extending the Multimedia Framework.
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
