Class: Mpg321::Client

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Includes:
Mpg321::Control::Playback, Mpg321::Control::Volume
Defined in:
lib/mpg321/client.rb

Instance Method Summary collapse

Methods included from Mpg321::Control::Volume

#volume, #volume=, #volume_down, #volume_up

Methods included from Mpg321::Control::Playback

#loaded?, #pause, #paused?, #play, #playing?, #stop

Constructor Details

#initializeClient

Returns a new instance of Client.



11
12
13
14
# File 'lib/mpg321/client.rb', line 11

def initialize
  @process = ProcessWrapper.new
  send :volume=, 50
end