Skip to content

Commit

Permalink
Fix typo in types
Browse files Browse the repository at this point in the history
  • Loading branch information
FelonEkonom committed Mar 1, 2024
1 parent 015cbf5 commit 88d4d0a
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions lib/membrane/timestamp_queue.ex
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,6 @@ defmodule Membrane.TimestampQueue do
alias Membrane.Buffer.Metric
alias Membrane.Element.Action

@type buffer_entry :: {:buffer, Buffer.t(), buffer_time :: Membrane.Time.t()}
@type stream_format_entry :: {:stream_format, StreamFormat.t()}
@type event_entry :: {:event, Event.t()}

@type queue_entry :: buffer_entry() | stream_format_entry() | event_entry()

@typedoc """
A queue, that accepts buffers, stream formats and events from various pads and sorts them based on
their timestamps.
"""
@type pad_queue :: %{
pad_ref: Pad.ref(),
dts_offset: integer(),
Expand All @@ -36,6 +26,10 @@ defmodule Membrane.TimestampQueue do
end_of_stream?: boolean()
}

@typedoc """
A queue, that accepts buffers, stream formats and events from various pads and sorts them based on
their timestamps.
"""
@type t :: %__MODULE__{
current_queue_time: Membrane.Time.t(),
pause_demand_boundary: pos_integer() | :infinity,
Expand Down

0 comments on commit 88d4d0a

Please sign in to comment.