diff options
author | Carl Hetherington <carl@carlh.net> | 2009-08-24 17:08:08 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-08-24 17:08:08 +0000 |
commit | d2b39735cad088fa8518c1a3e3df25f9b4ef6ac8 (patch) | |
tree | e03dbf73a9959f7d36d072edefcce1cd926b0c41 /libs/ardour/session_click.cc | |
parent | 27feb19897c7edc2ef9a80be35f57dcb61156a5b (diff) |
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
Diffstat (limited to 'libs/ardour/session_click.cc')
-rw-r--r-- | libs/ardour/session_click.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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); |