Class: TagLib::MPEG::Properties

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

Overview

Audio properties for MPEG files.

Constant Summary

Constants inherited from AudioProperties

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

Instance Attribute Summary

Attributes inherited from AudioProperties

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

Instance Method Summary collapse

Instance Method Details

#channel_modeTagLib::MPEG::Header constant

Returns channel mode, e.g. Header::JointStereo.

Returns:



140
141
# File 'docs/taglib/mpeg.rb', line 140

def channel_mode
end

#copyrighted?true

Returns if copyrighted bit is set.

Returns:

  • (true)

    if copyrighted bit is set



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

def copyrighted?
end

#layerInteger

Returns MPEG layer (1-3).

Returns:

  • (Integer)

    MPEG layer (1-3)



131
132
# File 'docs/taglib/mpeg.rb', line 131

def layer
end

#original?true

Returns if original bit is set.

Returns:

  • (true)

    if original bit is set



148
149
# File 'docs/taglib/mpeg.rb', line 148

def original?
end

#protection_enabledtrue

Returns if MPEG protection bit is set.

Returns:

  • (true)

    if MPEG protection bit is set



135
136
# File 'docs/taglib/mpeg.rb', line 135

def protection_enabled
end

#versionTagLib::MPEG::Header constant

Returns MPEG version, e.g. Header::Version1.

Returns:



127
128
# File 'docs/taglib/mpeg.rb', line 127

def version
end

#xing_headerTagLib::MPEG::XingHeader?

Returns:



122
123
# File 'docs/taglib/mpeg.rb', line 122

def xing_header
end