Update nodes.jl
This commit is contained in:
parent
3c663c675a
commit
348e2576f9
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ function play(arr::AudioBuf, args...)
|
||||||
end
|
end
|
||||||
|
|
||||||
# If the array is the wrong floating type, convert it
|
# 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)
|
arr = convert(AudioBuf, arr)
|
||||||
play(arr, args...)
|
play(arr, args...)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue