mme_play_get_info()

Get information about the track or file currently being played

Synopsis:

#include <mme/mme.h>

int mme_play_get_info( mme_hdl_t *hdl,
                       mme_play_info_t *info );

Arguments:

hdl
An MME connection handle.
info
A pointer to a mme_play_info_t structure that mme_play_get_info() can fill with the playback information.

Library:

mme

Description:

The function mme_play_get_info() retrieves current information about the track that is currently being played, and fills out the structure pointed to by info. For information about this structure, see mme_play_info_t in this reference.

Events

None delivered.

Blocking and validation

This function doesn't block.

Returns:

0
Success: MME retrieved the information for the current track and placed this information in the structure mme_play_info_t.
-1
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

mme_play(), mme_play_get_status(), mme_play_get_info(), mme_play_get_status(), mme_play_set_speed(), mme_set_notification_interval()