Get the selected media copy or rip mode
#include <mme/mme.h>
int mme_mediacopier_set_mode( mme_hdl_t *hdl,
mme_mediacopier_mode_t *copymode );
- hdl
- An MME connection handle.
- copymode
- The copy mode selected for the media copying or ripping operation.
mme
The function mme_mediacopier_set_mode() sets the mode for a media copying or ripping operation. This mode is defined by the enumerated type mme_mediacopier_mode_t.
The enumerated type mme_mediacopier_mode_t sets the media copying or ripping mode:
- MME_MEDIACOPIER_MODE_BKG — The MME will:
- return after it initiates the operation
- perform the media copy or ripping in the background
- give priority to other operations
- MME_MEDIACOPIER_MODE_PRIORITY_BKG — The MME will:
- return after it initiates the operation
- perform the media copy or ripping in the background
- take priority over other background operations
- MME_MEDIACOPIER_MODE_FOREGROUND (For future implementation.) — The MME will:
- return after it completes the operation
- perform the media copy or ripping in the foreground
- negotiate priority with other foreground operations
None delivered.
This function blocks until it completes.
- ≥0
- Success.
- -1
- An error occurred (errno is set).
QNX Neutrino
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
mme_mediacopier_cleanup(),
mme_mediacopier_get_mode(),
mme_metadata_set()