Class: VBox::AudioAdapter

Inherits:
Base
  • Object
show all
Defined in:
lib/virtualbox/classes/audio_adapter.rb

Instance Attribute Summary

Attributes inherited from Base

#ref

Instance Method Summary collapse

Methods inherited from Base

#_this, #delete!, #ensure_hash, #initialize, #vbox_class

Constructor Details

This class inherits a constructor from VBox::Base

Instance Method Details

#audo_controllerObject



14
15
16
# File 'lib/virtualbox/classes/audio_adapter.rb', line 14

def audo_controller
  VBox::WebService.send_request(:i_audio_adapter_get_audo_controller, _this)
end

#audo_controller=(audo_controller) ⇒ Object



18
19
20
21
# File 'lib/virtualbox/classes/audio_adapter.rb', line 18

def audo_controller=(audo_controller)
  VBox::WebService.send_request(:i_audio_adapter_set_audo_controller,
                                _this.merge(:audo_controller => audo_controller))
end

#audo_driverObject



23
24
25
# File 'lib/virtualbox/classes/audio_adapter.rb', line 23

def audo_driver
  VBox::WebService.send_request(:i_audio_adapter_get_audo_driver, _this)
end

#audo_driver=(audo_driver) ⇒ Object



27
28
29
# File 'lib/virtualbox/classes/audio_adapter.rb', line 27

def audo_driver=(audo_driver)
  VBox::WebService.send_request(:i_audio_adapter_set_audo_driver, _this.merge(:audo_driver => audo_driver))
end

#enabledObject

Attributes



6
7
8
# File 'lib/virtualbox/classes/audio_adapter.rb', line 6

def enabled
  VBox::WebService.send_request(:i_audio_adapter_get_enabled, _this)
end

#enabled=(enabled) ⇒ Object



10
11
12
# File 'lib/virtualbox/classes/audio_adapter.rb', line 10

def enabled=(enabled)
  VBox::WebService.send_request(:i_audio_adapter_set_enabled, _this.merge(:enabled => enabled))
end