Class: FormatParser::MP3Parser::MP3Info

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

Instance Attribute Summary collapse

Instance Attribute Details

#duration_secondsObject

Returns the value of attribute duration_seconds

Returns:

  • (Object)

    the current value of duration_seconds



14
15
16
# File 'lib/parsers/mp3_parser.rb', line 14

def duration_seconds
  @duration_seconds
end

#num_channelsObject

Returns the value of attribute num_channels

Returns:

  • (Object)

    the current value of num_channels



14
15
16
# File 'lib/parsers/mp3_parser.rb', line 14

def num_channels
  @num_channels
end

#sampling_rateObject

Returns the value of attribute sampling_rate

Returns:

  • (Object)

    the current value of sampling_rate



14
15
16
# File 'lib/parsers/mp3_parser.rb', line 14

def sampling_rate
  @sampling_rate
end