Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
opus
master
Opus
Application
Bandwidth
Decoder
Encoder
Error
ForceChannels
FrameDuration
Packet
Signal
Built with Crystal 1.9.2
2023-10-07 11:05:50 UTC
class
Opus::Packet
Opus::Packet
Reference
Object
Defined in:
opus/packet.cr
Constructors
.new
(data : Slice(UInt8))
Instance Method Summary
#bandwidth
#channels
#data
: Bytes
#frames
#samples
(sample_rate)
#samples_per_frame
(sample_rate)
Constructor Detail
def self.
new
(data : Slice(UInt8))
#
[
View source
]
Instance Method Detail
def
bandwidth
#
[
View source
]
def
channels
#
[
View source
]
def
data
: Bytes
#
[
View source
]
def
frames
#
[
View source
]
def
samples
(sample_rate)
#
[
View source
]
def
samples_per_frame
(sample_rate)
#
[
View source
]