module Mopidy::Mixer

Public Class Methods

volume() click to toggle source
# File lib/mopidy/mixer.rb, line 3
def self.volume
  json = Mopidy.format_json(1, 'core.mixer.get_volume')
  Mopidy.post(json)
end
volume=(value) click to toggle source
# File lib/mopidy/mixer.rb, line 8
def self.volume=(value)
  json = Mopidy.format_json(1, 'core.mixer.set_volume', [value])
  Mopidy.post(json)
end