Module: MPD::Plugins::Outputs
- Included in:
- MPD
- Defined in:
- lib/ruby-mpd/plugins/outputs.rb
Overview
Commands related to audio output devices.
Instance Method Summary collapse
-
#disableoutput(num) ⇒ Boolean
Disables specified output.
-
#enableoutput(num) ⇒ Boolean
Enables specified output.
-
#outputs ⇒ Array<Hash>
Gives a list of all outputs.
Instance Method Details
#disableoutput(num) ⇒ Boolean
Disables specified output.
21 22 23 |
# File 'lib/ruby-mpd/plugins/outputs.rb', line 21 def disableoutput(num) send_command :disableoutput, num end |
#enableoutput(num) ⇒ Boolean
Enables specified output.
14 15 16 |
# File 'lib/ruby-mpd/plugins/outputs.rb', line 14 def enableoutput(num) send_command :enableoutput, num end |
#outputs ⇒ Array<Hash>
Gives a list of all outputs
7 8 9 |
# File 'lib/ruby-mpd/plugins/outputs.rb', line 7 def outputs send_command :outputs end |