Current section
Files
Jump to
Current section
Files
c_src/membrane_element_lame/encoder.spec.exs
module Membrane.Element.Lame.Encoder.Native
spec create(channels :: int, bitrate :: int, quality :: int) ::
{:ok :: label, state} | {:error :: label, reason :: atom}
spec encode_frame(buffer :: payload, state) ::
{:ok :: label, frame :: payload} | {:error :: label, reason :: atom}
spec flush(is_gapless :: bool, state) ::
{:ok :: label, frame :: payload} | {:error :: label, reason :: atom}
dirty :cpu, encode_frame: 2, flush: 2