Update nodes.jl

This commit is contained in:
Bill 2015-11-03 18:26:24 -10:00
parent 3c663c675a
commit 348e2576f9

View file

@ -228,7 +228,7 @@ function play(arr::AudioBuf, args...)
end
# If the array is the wrong floating type, convert it
function play{T <: FloatingPoint}(arr::Array{T}, args...)
@compat function play{T <: AbstractFloat}(arr::Array{T}, args...)
arr = convert(AudioBuf, arr)
play(arr, args...)
end