Class: FormatParser::MP3Parser::MPEGFrame

Inherits:
Struct
  • Object
show all
Defined in:
lib/parsers/mp3_parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#channelsObject

Returns the value of attribute channels

Returns:

  • (Object)

    the current value of channels



8
9
10
# File 'lib/parsers/mp3_parser.rb', line 8

def channels
  @channels
end

#frame_bitrateObject

Returns the value of attribute frame_bitrate

Returns:

  • (Object)

    the current value of frame_bitrate



8
9
10
# File 'lib/parsers/mp3_parser.rb', line 8

def frame_bitrate
  @frame_bitrate
end

#frame_lengthObject

Returns the value of attribute frame_length

Returns:

  • (Object)

    the current value of frame_length



8
9
10
# File 'lib/parsers/mp3_parser.rb', line 8

def frame_length
  @frame_length
end

#mpeg_idObject

Returns the value of attribute mpeg_id

Returns:

  • (Object)

    the current value of mpeg_id



8
9
10
# File 'lib/parsers/mp3_parser.rb', line 8

def mpeg_id
  @mpeg_id
end

#offset_in_fileObject

Returns the value of attribute offset_in_file

Returns:

  • (Object)

    the current value of offset_in_file



8
9
10
# File 'lib/parsers/mp3_parser.rb', line 8

def offset_in_file
  @offset_in_file
end

#sample_rateObject

Returns the value of attribute sample_rate

Returns:

  • (Object)

    the current value of sample_rate



8
9
10
# File 'lib/parsers/mp3_parser.rb', line 8

def sample_rate
  @sample_rate
end