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


8493
8494
8495
# File 'Monkeybrains.rb', line 8493

def bitRate
  @bitRate
end

numChannelsToybox::Lang::Number

The number of channels

Returns:

Since:

  • 3.0.0


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

def numChannels
  @numChannels
end

sampleRateToybox::Lang::Number

The sample rate of the audio in Hz

Returns:

Since:

  • 3.0.0


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

def sampleRate
  @sampleRate
end