Class: TagLib::Ogg::Vorbis::Properties

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

Overview

Ogg Vorbis audio properties.

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

#bitrate_maximumInteger (readonly)

Returns maximum bitrate from Vorbis identification header.

Returns:

  • (Integer)

    maximum bitrate from Vorbis identification header



51
52
53
# File 'docs/taglib/vorbis.rb', line 51

def bitrate_maximum
  @bitrate_maximum
end

#bitrate_minimumInteger (readonly)

Returns minimum bitrate from Vorbis identification header.

Returns:

  • (Integer)

    minimum bitrate from Vorbis identification header



59
60
61
# File 'docs/taglib/vorbis.rb', line 59

def bitrate_minimum
  @bitrate_minimum
end

#bitrate_nominalInteger (readonly)

Returns nominal bitrate from Vorbis identification header.

Returns:

  • (Integer)

    nominal bitrate from Vorbis identification header



55
56
57
# File 'docs/taglib/vorbis.rb', line 55

def bitrate_nominal
  @bitrate_nominal
end

#vorbis_versionInteger (readonly)

Returns Vorbis version.

Returns:

  • (Integer)

    Vorbis version



47
48
49
# File 'docs/taglib/vorbis.rb', line 47

def vorbis_version
  @vorbis_version
end