mme_output_attr_t

Media output attributes

Synopsis:

#include <mme/types.h>

typedef struct mme_output_attr {
    union {
        struct {
            int       volume;
            int       balance;
            int       fade;
            int       mute;
            uint64_t  delay;
        } audio;

        struct {
            int       layer;
        } video;

        struct {
            /* not yet implemented */
        } encoded;
    };
} mme_output_attr_t;

Description:

The structure mme_output_attr_t carries playback output attributes and is used for getting and setting attributes on output devices. It is a union of the structures audio, video and encoded, and can therefore only control one class of output device at a time.

The members of the structures audio, video and encoded that make up mme_output_attr_t are described in the table below.

Structure Member Type Description
mme_output_attr_t audio struct Audio information
mme_output_attr_t video struct Video information
mme_output_attr_t encoded struct Encoding information. For future use.
audio volume int The output volume, as a percent from 0 to 100.
audio balance int The output balance: 0 (left); 50 (center); 100 (right).
audio fade int The output fade setting: 0 (back); 50 (center); 100 (forward).
audio mute int The output muted setting: Set to 1 for muted, 0 for not muted.
audio delay uint64_t The output delay, in millisenconds.
video layer int The GF/video layer.

Classification:

QNX Multimedia

See also:

mme_play_get_output_attr()