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:



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

def channel_mode
end

#copyrighted?true

Returns if copyrighted bit is set.

Returns:

  • (true)

    if copyrighted bit is set



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

def copyrighted?
end

#layerInteger

Returns MPEG layer (1-3).

Returns:

  • (Integer)

    MPEG layer (1-3)



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

def layer
end

#original?true

Returns if original bit is set.

Returns:

  • (true)

    if original bit is set



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

def original?
end

#protection_enabledtrue

Returns if MPEG protection bit is set.

Returns:

  • (true)

    if MPEG protection bit is set



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

def protection_enabled
end

#versionTagLib::MPEG::Header constant

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

Returns:



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

def version
end

#xing_headerTagLib::MPEG::XingHeader?

Returns:



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

def xing_header
end