Class: TagLib::FLAC::Properties

Inherits:
AudioProperties show all
Defined in:
docs/taglib/flac.rb

Overview

FLAC audio properties.

Since:

  • 0.5.0

Constant Summary

Constants inherited from AudioProperties

AudioProperties::Accurate, AudioProperties::Average, AudioProperties::Fast

Instance Attribute Summary collapse

Attributes inherited from AudioProperties

#bitrate, #channels, #length_in_milliseconds, #length_in_seconds, #sample_rate

Instance Attribute Details

#bits_per_sampleInteger (readonly)

Returns Number of bits per audio sample.

Returns:

  • (Integer)

    Number of bits per audio sample.

Since:

  • 1.0.0


146
147
148
# File 'docs/taglib/flac.rb', line 146

def bits_per_sample
  @bits_per_sample
end

#sample_framesInteger (readonly)

Returns Number of sample frames.

Returns:

  • (Integer)

    Number of sample frames.

Since:

  • 1.0.0


151
152
153
# File 'docs/taglib/flac.rb', line 151

def sample_frames
  @sample_frames
end

#signaturebinary String (readonly)

Returns MD5 signature of uncompressed audio stream (binary data).

Returns:

  • (binary String)

    MD5 signature of uncompressed audio stream (binary data)

Since:

  • 0.5.0


155
156
157
# File 'docs/taglib/flac.rb', line 155

def signature
  @signature
end