mme_play_detach_output()

Detach an output from a zone

Synopsis:

#include <mme/mme.h>

int mme_play_detach_output( mme_hdl_t *hdl,
                            uint64_t zoneid,
                            uint64_t outputid );

Arguments:

hdl
An MME connection handle.
zoneid
The zone from which you want to detach the output device. If set to 0, use the current control context zone.
outputid
The ID of the output device to detach from the zone. .

Library:

mme

Description:

The function mme_play_detach_output() detaches an output device from a specified zone.

Events

None delivered.

Blocking and validation

This function blocks on control contexts. It validates parameters. In asynchronous mode, it returns before calling io-media.

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_output_set_permanent(), mme_play_attach_output(), mme_play_get_zone(), mme_play_set_zone(), mme_zone_create(), mme_zone_delete()