class Opus::Encoder

Defined in:

opus/encoder.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(sample_rate : Int32, frame_size : Int32, channels : Int32) #

[View source]

Instance Method Detail

def bitrate=(value : Int32) : Int32 #

[View source]
def destroy : Void #

[View source]
def encode(data : Bytes) : Bytes #

[View source]
def input_length : Int32 #

[View source]
def reset : Void #

[View source]
def vbr_rate=(value : Int32) : Int32 #

[View source]