From d2b39735cad088fa8518c1a3e3df25f9b4ef6ac8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 24 Aug 2009 17:08:08 +0000 Subject: Set format = 0 on calling sf_open as required by libsndfile. git-svn-id: svn://localhost/ardour2/branches/3.0@5576 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session_click.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/ardour/session_click.cc') diff --git a/libs/ardour/session_click.cc b/libs/ardour/session_click.cc index dfbd599c4c..8f4a5292f3 100644 --- a/libs/ardour/session_click.cc +++ b/libs/ardour/session_click.cc @@ -154,6 +154,7 @@ Session::setup_click_sounds (int which) } else { + info.format = 0; if ((sndfile = sf_open (path.c_str(), SFM_READ, &info)) == 0) { char errbuf[256]; sf_error_str (0, errbuf, sizeof (errbuf) - 1); -- cgit v1.2.3