![]() |
![]() |
![]() |
![]() |
Set the attributes for an output device
#include <mme/mme.h> int mme_play_set_output_attr( mme_hdl_t *hdl, uint64_t outputdeviceid, mme_output_attr_t *attr );
mme
The function mme_play_set_output_attr() sets the output attributes for the specified output device. These attributes are carried in the data structure mme_output_attr_t described in this reference.
To apply the same attributes to all output devices attached to a control context, set outputdeviceid to 0. The MME will iterate through all attached output devices and apply the values specified in mme_output_attr_t to them.
This function delivers MME_EVENT_OUTPUTATTRCHANGE with the ID of the output device where the change occured, in mme_event_data_t.value.
This function validates the output device ID, and behaves as follows, depending on whether the MME is currently playing a track:
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
mme_play_get_output_attr(), mme_output_set_permanent()
![]() |
![]() |
![]() |
![]() |