class Opus::Decoder

Defined in:

opus/decoder.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def bandwidth #

[View source]
def channels : Int32 #

[View source]
def decode(payload : Bytes) #

[View source]
def decode(packet : Packet) #

[View source]
def decode_bytes(payload : Bytes) #

[View source]
def decode_bytes(packet : Packet) #

[View source]
def decode_float(payload : Bytes) #

[View source]
def decode_float(packet : Packet) #

[View source]
def finalize #

[View source]
def gain #

[View source]
def gain=(val) #

[View source]
def in_dtx #

[View source]
def last_packet_duration #

[View source]
def phase_inversion #

[View source]
def phase_inversion=(val) #

[View source]
def pitch #

[View source]
def reset #

[View source]
def sample_rate : Int32 #

[View source]
def samples(payload : Bytes) #

[View source]
def samples(packet : Packet) #

[View source]