module Opus

Defined in:

opus.cr
opus/decoder.cr
opus/encoder.cr
opus/enums.cr
opus/error.cr
opus/macros.cr
opus/packet.cr

Constant Summary

FRAME_SIZE = 960
MAX_FRAME_SIZE = 6 * FRAME_SIZE
MAX_PACKET_SIZE = 3 * 1276
VERSION = "0.1.0"

Class Method Summary

Macro Summary

Class Method Detail

def self.pcm_soft_clip(pcm : Slice(Float), frame_size, channels) #

[View source]

Macro Detail

macro opus_getter(type, name, opus_name = nil, is_bool = false, reverse_bool = false, enum_name = nil, converter = nil) #

[View source]
macro opus_setter(type, name, opus_name = nil, is_bool = false, reverse_bool = false, enum_name = nil, converter = nil) #

[View source]