mpv_command_async

Same as mpv_command, but run the command asynchronously.

Commands are executed asynchronously. You will receive a MPV_EVENT_COMMAND_REPLY event. This event will also have an error code set if running the command failed. For commands that return data, the data is put into mpv_event_command.result.

Safe to be called from mpv render API threads.

@param reply_userdata the value mpv_event.reply_userdata of the reply will be set to (see section about asynchronous calls) @param args NULL-terminated list of strings (see mpv_command()) @return error code (if parsing or queuing the command fails)

extern (C)
int
mpv_command_async
(,,
const(char*)* args
)

Meta