summaryrefslogtreecommitdiff
path: root/gtk2_ardour/sfdb_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/sfdb_ui.cc')
-rw-r--r--gtk2_ardour/sfdb_ui.cc26
1 files changed, 13 insertions, 13 deletions
diff --git a/gtk2_ardour/sfdb_ui.cc b/gtk2_ardour/sfdb_ui.cc
index 10648c3d24..fa2d50afc6 100644
--- a/gtk2_ardour/sfdb_ui.cc
+++ b/gtk2_ardour/sfdb_ui.cc
@@ -1074,22 +1074,22 @@ SoundFileOmega::check_info (const vector<string>& paths, bool& same_size, bool&
if (!AudioFileSource::get_soundfile_info (*i, info, errmsg)) {
err = true;
- }
-
- if (info.channels > 1) {
- multichannel = true;
- }
-
- if (sz == 0) {
- sz = info.length;
} else {
- if (sz != info.length) {
- same_size = false;
+ if (info.channels > 1) {
+ multichannel = true;
+ }
+
+ if (sz == 0) {
+ sz = info.length;
+ } else {
+ if (sz != info.length) {
+ same_size = false;
+ }
}
- }
- if ((nframes_t) info.samplerate != session->frame_rate()) {
- src_needed = true;
+ if ((nframes_t) info.samplerate != session->frame_rate()) {
+ src_needed = true;
+ }
}
}