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


8490
8491
8492
# File 'Monkeybrains.rb', line 8490

def bitRate
  @bitRate
end

numChannelsToybox::Lang::Number

The number of channels

Returns:

Since:

  • 3.0.0


8486
8487
8488
# File 'Monkeybrains.rb', line 8486

def numChannels
  @numChannels
end

sampleRateToybox::Lang::Number

The sample rate of the audio in Hz

Returns:

Since:

  • 3.0.0


8482
8483
8484
# File 'Monkeybrains.rb', line 8482

def sampleRate
  @sampleRate
end