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



144
145
146
# File 'docs/taglib/flac.rb', line 144

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



149
150
151
# File 'docs/taglib/flac.rb', line 149

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



153
154
155
# File 'docs/taglib/flac.rb', line 153

def signature
  @signature
end