about summary refs log tree commit homepage
path: root/lib/dtas/player
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-08-25 09:25:07 +0000
committerEric Wong <normalperson@yhbt.net>2013-08-25 09:29:46 +0000
commit68ffa097e187da663fa3f537b430428ea5e8de2e (patch)
treebe7d441b68ab8c77a7ebc062c129b5701bf2a5b1 /lib/dtas/player
parent9cd8e2776edc246950d2c7ebdea833489efb1d1f (diff)
downloaddtas-68ffa097e187da663fa3f537b430428ea5e8de2e.tar.gz
We should've done this at the start, but we didn't.
Diffstat (limited to 'lib/dtas/player')
-rw-r--r--lib/dtas/player/client_handler.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dtas/player/client_handler.rb b/lib/dtas/player/client_handler.rb
index cddbe4c..44f0b57 100644
--- a/lib/dtas/player/client_handler.rb
+++ b/lib/dtas/player/client_handler.rb
@@ -204,7 +204,7 @@ module DTAS::Player::ClientHandler # :nodoc:
       # this offset in the @current.format (not player @format)
       @queue.unshift([ @current.infile, "#{__current_decoded_samples}s" ])
     else
-      # DTAS::Source::Command (hash), just rerun it
+      # DTAS::Source::Cmd (hash), just rerun it
       @queue.unshift(@current.to_hsh)
     end
     # We also want to hard drop the buffer so we do not get repeated audio.
@@ -424,7 +424,7 @@ module DTAS::Player::ClientHandler # :nodoc:
     case msg.shift
     when "cat"
       io.emit({
-        "command" => @srccmd || DTAS::Source::SOURCE_DEFAULTS["command"],
+        "command" => @srccmd || DTAS::Source::Sox::SOX_DEFAULTS["command"],
         "env" => @srcenv,
       }.to_yaml)
     when "ed"