mme_play_get_output_attr()

Get the attributes for an output device

Synopsis:

#include <mme/mme.h>

int mme_play_get_output_attr( mme_hdl_t *hdl,
                              uint64_t outputdeviceid,
                              mme_output_attr_t *attr );

Arguments:

hdl
An MME connection handle.
outputdeviceid
The ID of the output device for which to get attibutes.
attr
A pointer to a structure with the output device attributes.

Library:

mme

Description:

The function mme_play_get_output_attr() gets the output attributes for the specified output device, and places them in a structure mme_output_attr_t. For more information about this structure, see mme_output_attr_t in this reference.

Events

None delivered.

Blocking and validation

This function blocks on control contexts.

Returns:

0
Success.
-1
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

mme_play_set_output_attr(), mme_output_set_permanent()