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, #sample_rate

Instance Method Summary collapse

Instance Method Details

#channel_modeTagLib::MPEG::Header constant

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

Returns:


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

def channel_mode
end

#copyrighted?true

Returns if copyrighted bit is set

Returns:

  • (true)

    if copyrighted bit is set


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

def copyrighted?
end

#layerInteger

Returns MPEG layer (1-3)

Returns:

  • (Integer)

    MPEG layer (1-3)


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

def layer
end

#original?true

Returns if original bit is set

Returns:

  • (true)

    if original bit is set


138
139
# File 'docs/taglib/mpeg.rb', line 138

def original?
end

#protection_enabledtrue

Returns if MPEG protection bit is set

Returns:

  • (true)

    if MPEG protection bit is set


125
126
# File 'docs/taglib/mpeg.rb', line 125

def protection_enabled
end

#versionTagLib::MPEG::Header constant

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

Returns:


117
118
# File 'docs/taglib/mpeg.rb', line 117

def version
end

#xing_headerTagLib::MPEG::XingHeader?

Returns:


112
113
# File 'docs/taglib/mpeg.rb', line 112

def xing_header
end