Class: FMOD::Sound::Format

Inherits:
Struct
  • Object
show all
Defined in:
lib/fmod/sound.rb

Overview

Contains format information about the sound.

Instance Attribute Summary collapse

Instance Attribute Details

#bits ⇒ Integer

The number of bits per sample for the sound.

Returns:

  • (Integer) —

    the current value of bits



16
17
18
# File 'lib/fmod/sound.rb', line 16

def bits
  @bits
end

#channels ⇒ Integer

The number of channels for the sound.

Returns:

  • (Integer) —

    the current value of channels



16
17
18
# File 'lib/fmod/sound.rb', line 16

def channels
  @channels
end

#format ⇒ Integer

The format of the sound.

Returns:

  • (Integer) —

    the current value of format

See Also:



16
17
18
# File 'lib/fmod/sound.rb', line 16

def format
  @format
end

#type ⇒ Integer

The type of sound.

Returns:

  • (Integer) —

    the current value of type

See Also:



16
17
18
# File 'lib/fmod/sound.rb', line 16

def type
  @type
end