From 2c4b21940ca3dbf3218e6ccfd6b251cdb247b2b3 Mon Sep 17 00:00:00 2001 From: Bill Date: Tue, 3 Nov 2015 09:50:42 -1000 Subject: [PATCH] Update sndfile.jl --- src/sndfile.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sndfile.jl b/src/sndfile.jl index b8ac331..1f6243e 100644 --- a/src/sndfile.jl +++ b/src/sndfile.jl @@ -16,10 +16,10 @@ const SF_SEEK_SET = 0 const SF_SEEK_CUR = 1 const SF_SEEK_END = 2 -const EXT_TO_FORMAT = [ +@compat const EXT_TO_FORMAT = ( ".wav" => SF_FORMAT_WAV, ".flac" => SF_FORMAT_FLAC -] +) type SF_INFO frames::Int64