SideInfo()

Synopsis:

#include <aoi.h>

int32_t (*SideInfo)(void *context,
                    char **sideinfo,
                    int32_t *length);

Arguments:

context
A pointer to the context for the stream you want to retrieve side information from.
sideinfo
The address of a pointer to space where the function can store the side information for the stream.
length
A pointer to a space where the function can store the returned length of the sideinfo parameter.

Description:

This function should store the current side information for a stream in the space provided by sideinfo, and set the sideinfo length. Side information can change any time, and often does, as in the case for inline information in streaming audio.

Returns:

0 if successful.