Class: FMOD::System::SoftwareFormat

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

Overview

Describes the output format for the software mixer.

Instance Attribute Summary collapse

Instance Attribute Details

#raw_channelsInteger

Number of output channels / speakers to initialize the sound card to in raw speaker mode.

Returns:

  • (Integer)

    the current value of raw_channels



69
70
71
# File 'lib/fmod/system.rb', line 69

def raw_channels
  @raw_channels
end

#sample_rateInteger

The rate in Hz, that the software mixer will run at. Specify values between 8000 and 192000.

Returns:

  • (Integer)

    the current value of sample_rate



69
70
71
# File 'lib/fmod/system.rb', line 69

def sample_rate
  @sample_rate
end

#speaker_modeInteger

Speaker setup for the software mixer.

Returns:

  • (Integer)

    the current value of speaker_mode



69
70
71
# File 'lib/fmod/system.rb', line 69

def speaker_mode
  @speaker_mode
end