diff options
author | David Robillard <d@drobilla.net> | 2011-06-01 16:50:12 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-06-01 16:50:12 +0000 |
commit | a473d630eb165272992e90f8d854b1d66ec0be63 (patch) | |
tree | d0d027d4e53cb3883f4098c4736651d0ae89c19a /libs/ardour/session_click.cc | |
parent | a46cea06e29bfdb18e0199a665caf5a34d388968 (diff) |
Fix broken whitespace. I'd apologize for the compile times if it was my fault :D
git-svn-id: svn://localhost/ardour2/branches/3.0@9654 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_click.cc')
-rw-r--r-- | libs/ardour/session_click.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/session_click.cc b/libs/ardour/session_click.cc index cd8ee5ce1e..8e57d7578c 100644 --- a/libs/ardour/session_click.cc +++ b/libs/ardour/session_click.cc @@ -147,7 +147,7 @@ Session::setup_click_sounds (Sample** data, Sample const * default_data, framecn SF_INFO info; SNDFILE* sndfile; - + info.format = 0; if ((sndfile = sf_open (path.c_str(), SFM_READ, &info)) == 0) { char errbuf[256]; @@ -158,7 +158,7 @@ Session::setup_click_sounds (Sample** data, Sample const * default_data, framecn } /* read the (possibly multi-channel) click data into a temporary buffer */ - + sf_count_t const samples = info.frames * info.channels; Sample* tmp = new Sample[samples]; @@ -168,14 +168,14 @@ Session::setup_click_sounds (Sample** data, Sample const * default_data, framecn warning << _("cannot read data from click soundfile") << endmsg; *data = 0; _clicking = false; - + } else { *data = new Sample[info.frames]; *length = info.frames; - + /* mix down to mono */ - + for (int i = 0; i < info.frames; ++i) { (*data)[i] = 0; for (int j = 0; j < info.channels; ++j) { |