Missing format = 0 from last commit.
authorCarl Hetherington <carl@carlh.net>
Mon, 24 Aug 2009 17:22:16 +0000 (17:22 +0000)
committerCarl Hetherington <carl@carlh.net>
Mon, 24 Aug 2009 17:22:16 +0000 (17:22 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@5578 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/session_click.cc

index 8f4a5292f3f11184e4060707d4273e892c18d262..caff7dd1a73009602a146bd60c19c44d28113370 100644 (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);