mme_audio_get_status()

Get the audio status

Synopsis:

#include <mme/mme.h>

int mme_audio_get_status ( mme_hdl_t *hdl,
                           mm_audio_format_t *status );

Arguments:

hdl
An MME connection handle.
status
A pointer to a mm_audio_format_t structure that the function fills in with information about the audio stream for the current track.

Library:

mme

Description:

The function mme_audio_get_status() gets audio stream information for the currently playing track and places it in status. See mm_audio_format_t in this reference.

Events

None delivered.

Blocking and validation

This function blocks on the control context and on io-media. It does not validate any data, and returns with either the requested information or an error.

Returns:

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

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

mm_audio_format_t, mme_video_get_status()