Sha256: dcde6e8c8aa020c56fbc80af546e8acc7029482c5d1c4b438153632aae670b9b

Contents?: true

Size: 182 Bytes

Versions: 11

Compression:

Stored size: 182 Bytes

Contents

module Rex
module Proto
module IAX2
module Codecs
class ALaw < G711

	def self.decode(buff)
		buff.unpack("C*").map{ |x| LOOKUP_ALAW2LIN16[x] }.pack('v*')
	end
	
end
end
end
end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
librex-0.0.65 lib/rex/proto/iax2/codecs/alaw.rb
librex-0.0.63 lib/rex/proto/iax2/codecs/alaw.rb
librex-0.0.54 lib/rex/proto/iax2/codecs/alaw.rb
librex-0.0.53 lib/rex/proto/iax2/codecs/alaw.rb
librex-0.0.52 lib/rex/proto/iax2/codecs/alaw.rb
librex-0.0.51 lib/rex/proto/iax2/codecs/alaw.rb
librex-0.0.50 lib/rex/proto/iax2/codecs/alaw.rb
librex-0.0.49 lib/rex/proto/iax2/codecs/alaw.rb
librex-0.0.48 lib/rex/proto/iax2/codecs/alaw.rb
librex-0.0.47 lib/rex/proto/iax2/codecs/alaw.rb
librex-0.0.46 lib/rex/proto/iax2/codecs/alaw.rb