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:
parent
66451b1836
commit
f9e30c4c08
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user