module RemiAudio::Codecs::G117
Extended Modules
Defined in:
remiaudio/codecs/g711.crInstance Method Summary
-
#aLawToInt16(aval : UInt8) : Int16
Converts an a-Law sample to a signed 16-bit integer sample.
-
#aLawToInt16(samples : Array(Int16)) : Array(UInt8)
Converts an array of ma-Law samples into an array of 16-bit signed integer samples.
-
#int16ToALaw(sample : Int16) : UInt8
Converts a 16-bit signed integer sample into a a-Law sample.
-
#int16ToMuLaw(sample : Int16) : UInt8
Converts a 16-bit signed integer sample into a mu-Law sample.
-
#int16ToMuLaw(samples : Array(Int16)) : Array(UInt8)
Converts an array of 16-bit signed integer samples into an array of a-Law samples.
-
#muLawToInt16(uval : UInt8) : Int16
Converts a mu-Law sample to a signed 16-bit integer sample.
-
#muLawToInt16(samples : Array(Int16)) : Array(UInt8)
Converts an array of mu-Law samples into an array of 16-bit signed integer samples.
Instance Method Detail
Converts an array of ma-Law samples into an array of 16-bit signed integer samples.
Converts a 16-bit signed integer sample into a a-Law sample.
Converts a 16-bit signed integer sample into a mu-Law sample.
Converts an array of 16-bit signed integer samples into an array of a-Law samples.
Converts a mu-Law sample to a signed 16-bit integer sample.
Converts an array of mu-Law samples into an array of 16-bit signed integer samples.