Membrane Core v0.2.2 Membrane.Core.Playback View Source

This module defines available playback states and struct that is held internally by every module having playback state.

There are three playback states: :stopped, :prepared and :playing.

Link to this section Summary

Link to this section Types

Link to this type

state_t() View Source
state_t() :: :stopped | :prepared | :playing

Link to this type

t() View Source
t() :: %Membrane.Core.Playback{
  async_state_change: boolean(),
  pending_state: state_t() | nil,
  state: state_t(),
  target_locked?: boolean(),
  target_state: state_t()
}

Link to this section Functions

Link to this macro

is_playback_state(atom) View Source (macro)