AoFindStreams()

Find a control with the best rating for a specific stream

Synopsis:

#include <aoi.h>

const AOICtrl_t *AoFindStreams(AOIStream_t *stream,
                               int32_t *rating,
                               const char *interface,
                               int32_t version);

Arguments:

stream
A pointer to an AOIStream_t structure for the stream you want to find the best rated control for.
rating
A pointer to where the function stores the rating, from 0 to 100, of how well the returned control can handle the stream.
interface
The name of the interface the returned control must contain.
version
The minimum version of the interface the returned control must contain.

Library:

libaoi.so

Description:

This function finds the control that has an AOStreamInspector interface that returns the best rating for the given stream and has the given interface and version, if specified.

Returns:

A pointer to an AOICtrl_t structure for the control with the best rating for the given stream, or NULL if no streamer addons are found.

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

AoFindExt(), AoFindMime(), AoFindFormats(), AoFindName(), AOICtrl_t