class Opus::Encoder

Defined in:

opus/encoder.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(sample_rate : Int32 = 48000, channels : Int32 = 2, application = Application::Audio) #

[View source]

Instance Method Detail

def application #

[View source]
def application=(val) #

[View source]
def bandwidth #

[View source]
def bandwidth=(val) #

[View source]
def bitrate #

[View source]
def bitrate=(val) #

[View source]
def channels : Int32 #

[View source]
def complexity #

[View source]
def complexity=(val) #

[View source]
def constrained_vbr #

[View source]
def constrained_vbr=(val) #

[View source]
def dtx #

[View source]
def dtx=(val) #

[View source]
def encode(pcm : Slice(Int16), frame_size) #

[View source]
def encode(pcm_bytes : Bytes, frame_size) #

[View source]
def encode(pcm : Slice(Float), frame_size) #

[View source]
def expert_frame_duration #

[View source]
def expert_frame_duration=(val) #

[View source]
def finalize #

[View source]
def force_channels #

[View source]
def force_channels=(val) #

[View source]
def in_dtx #

[View source]
def inband_fec #

[View source]
def inband_fec=(val) #

[View source]
def lookahead #

[View source]
def lsb_depth #

[View source]
def lsb_depth=(val) #

[View source]
def max_bandwidth #

[View source]
def max_bandwidth=(val) #

[View source]
def packet_loss_perc #

[View source]
def packet_loss_perc=(val) #

[View source]
def phase_inversion #

[View source]
def phase_inversion=(val) #

[View source]
def prediction #

[View source]
def prediction=(val) #

[View source]
def reset #

[View source]
def sample_rate : Int32 #

[View source]
def signal #

[View source]
def signal=(val) #

[View source]
def vbr #

[View source]
def vbr=(val) #

[View source]