Membrane Core v0.3.0 Membrane.Element.CallbackContext.Demand View Source
Structure representing a context that is passed to the element when processing incoming demand.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %Membrane.Element.CallbackContext.Demand{
incoming_demand: non_neg_integer(),
pads: %{
optional(Membrane.Element.Pad.ref_t()) => Membrane.Element.Pad.Data.t()
},
playback_state: Membrane.Core.Playback.state_t()
}
t() :: %Membrane.Element.CallbackContext.Demand{ incoming_demand: non_neg_integer(), pads: %{ optional(Membrane.Element.Pad.ref_t()) => Membrane.Element.Pad.Data.t() }, playback_state: Membrane.Core.Playback.state_t() }