Playback control

After you've attached and configured the input and outputs for a context, you can send it playback commands to start and stop playback, adjust playback speed, and change the track position.

The mmr_play() and mmr_stop() functions start and stop the flow of media content from the input to the outputs. You can adjust the playback speed, including setting a speed of 0 to pause playback, with mmr_speed_set().

You change the playback position with mmr_seek(), for all input types; however, the format of the string containing the position to seek to varies with the input type. For playlists, you can call mmr_list_change() during playback to switch to another playlist while continuing to play the current track.