![]() |
![]() |
![]() |
![]() |
Play a track on an unsynchronized mediastore
This function is deprecated. Use file-based track sessions; see “Creating and modifying file-based track sessions” in the MME Developer's Guide.
#include <mme/mme.h> int mme_play_file( mme_hdl_t *hdl, uint64_t msid, const char *filename );
mme
The function mme_play_file() plays a track on a mediastore regardless of whether the mediastore has been synchronized. This function can only be used to play a track on a mediastore that has its capabilities field in the mediastores table set to MME_MSCAP_PLAY_FILE.
Like mme_play(), in order to play a track, mme_play_file() requires a track session to be set, but does not require the track to be in the set track session.
This function may deliver any event of the class MME_EVENT_CLASS_PLAY, and any MME_PLAY_ERROR_* event.
This function does not verify that the fid is in the track session. If the connection to the MME is synchronous, the function validates that the file exists and that it is playable.
This function blocks on control contexts. If mme_play_file() is called and another function is called before mme_play_file() returns, the second function blocks on io-media until mme_play_file() returns. If there are no other pending calls, mme_play_file() returns without blocking on io-media.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
![]() |
![]() |
![]() |
![]() |