Module: AudioPlayback::Commandline
- Defined in:
- lib/audio-playback/commandline.rb
Overview
Using the AudioPlayback module from the command line
Constant Summary collapse
- OPTIONS =
{ :buffer_size => { :short => "-b", :long => "--buffer-size [bytes]", :type => Integer, :name => "Buffer size" }, :channels => { :short => "-c", :long => "--channels [channel1, channel2]", :type => Array, :name => "Direct to channel(s)" }, :latency => { :short => "-l", :long => "--latency [seconds]", :type => Float, :name => "Latency" }, :list_devices => { :long => "--list-devices", :name => "List devices" }, :logger => { :short => "-v", :long => "--verbose", :name => "Run verbosely", :when_true => $> }, :output_device => { :short => "-o", :long => "--output [name or id]", :type => String, :name => "Output device for playback" } }