mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
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
This commit is contained in:
parent
27feb19897
commit
d2b39735ca
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue