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

#bitsInteger

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

#channelsInteger

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

#formatInteger

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

#typeInteger

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