13
0

Missing format = 0 from last commit.

git-svn-id: svn://localhost/ardour2/branches/3.0@5578 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-08-24 17:22:16 +00:00
parent 66451b1836
commit f9e30c4c08

View File

@ -191,6 +191,7 @@ Session::setup_click_sounds (int which)
click_emphasis_data = const_cast<Sample*> (default_click_emphasis);
click_emphasis_length = default_click_emphasis_length;
} 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);