Class: Toybox::Media::AudioFormat

Inherits:
Lang::Object show all

Overview

Stores metadata related to the quality of the audio data associated with a media file.

Since:

  • 3.0.0

Instance Attribute Summary collapse

Method Summary

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Instance Attribute Details

bitRateToybox::Lang::Number

The bit rate of the audio

Returns:

Since:

  • 3.0.0


7352
7353
7354
# File 'Monkeybrains.rb', line 7352

def bitRate
  @bitRate
end

numChannelsToybox::Lang::Number

The number of channels

Returns:

Since:

  • 3.0.0


7348
7349
7350
# File 'Monkeybrains.rb', line 7348

def numChannels
  @numChannels
end

sampleRateToybox::Lang::Number

The sample rate of the audio in Hz

Returns:

Since:

  • 3.0.0


7344
7345
7346
# File 'Monkeybrains.rb', line 7344

def sampleRate
  @sampleRate
end