struct Minimp3::Frame
- Minimp3::Frame
- Struct
- Value
- Object
Defined in:
minimp3.crConstructors
Class Method Summary
Instance Method Summary
- #bit_rate : UInt32
- #channels : UInt32
- #clone
- #copy_with(data_buf _data_buf = @data_buf, frame_offset _frame_offset = @frame_offset, frame_bytes _frame_bytes = @frame_bytes, layer _layer = @layer, channels _channels = @channels, samples _samples = @samples, sample_rate _sample_rate = @sample_rate, bit_rate _bit_rate = @bit_rate)
- #data_buf : Bytes
- #exact_samples : UInt32
-
#exact_samples_bytes : UInt32
exact_samples_bytes = channels * samples * ONE_SAMPLE_BYTES
- #frame_bytes : UInt32
- #frame_offset : UInt32
- #layer : UInt32
- #sample_rate : UInt32
- #samples : UInt32
Constructor Detail
def self.new(data_buf : Bytes, frame_offset : UInt32, frame_bytes : UInt32, layer : UInt32, channels : UInt32, samples : UInt32, sample_rate : UInt32, bit_rate : UInt32)
#
Class Method Detail
Instance Method Detail
def copy_with(data_buf _data_buf = @data_buf, frame_offset _frame_offset = @frame_offset, frame_bytes _frame_bytes = @frame_bytes, layer _layer = @layer, channels _channels = @channels, samples _samples = @samples, sample_rate _sample_rate = @sample_rate, bit_rate _bit_rate = @bit_rate)
#