summaryrefslogtreecommitdiff
path: root/ws.rb
diff options
context:
space:
mode:
authorAlessio Treglia <quadrispro@ubuntu.com>2009-12-03 13:03:13 +0100
committerAlessio Treglia <quadrispro@ubuntu.com>2009-12-03 13:03:13 +0100
commit8b022ab680a3f5e374a44f2c05c1671cfb2bc799 (patch)
treeaf20b9a16eeca697a1d30a554d8d1b31ae9c1e4f /ws.rb
parent5cd66eecc95be11cacc5aaf4db8c67a499bb2d4d (diff)
Imported Upstream version 11.1
Diffstat (limited to 'ws.rb')
-rw-r--r--ws.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/ws.rb b/ws.rb
index b367d91..ae20616 100644
--- a/ws.rb
+++ b/ws.rb
@@ -396,7 +396,7 @@ require "hooks"
def clm_player(s)
if provided?(:snd) and sound?(s)
- play_and_wait(0, s)
+ play(s, :wait, true)
elsif string?(s) and File.exist?(s)
system("sndplay #{s}")
else
@@ -412,7 +412,7 @@ __ws_verbose__ = $VERBOSE
__ws_debug__ = $DEBUG
# get rid of `undefined variable' messages
with_silence do
- $clm_version = "ruby 15-Oct-2009"
+ $clm_version = "ruby 26-Nov-2009"
$output ||= false
$reverb ||= false
$clm_array_print_length ||= 8
@@ -1138,7 +1138,7 @@ installs the @with_sound_note_hook and prints the line
when Method
snd_func(@player, @out_snd)
else
- play_and_wait(0, @out_snd)
+ play(@out_snd, :wait, true)
end
else
# Outside Snd we use a Proc or Method of one arg, a sound FILE NAME.