From 0a20862f07e8c1a4f421012274ee5cdb8f2156fd Mon Sep 17 00:00:00 2001
From: Tim Blechmann <tim@klingt.org>
Date: Thu, 24 Apr 2008 19:26:31 +0200
Subject: [PATCH] fixed multichannel export

---
 libs/ardour/session_export.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libs/ardour/session_export.cc b/libs/ardour/session_export.cc
index e7a3b3b..58c6cd9 100644
--- a/libs/ardour/session_export.cc
+++ b/libs/ardour/session_export.cc
@@ -70,7 +70,7 @@ convert_spec_to_info (AudioExportSpecification& spec, SF_INFO& sfinfo)
 	sfinfo.format = spec.format;
 	sfinfo.samplerate = spec.sample_rate;
 	sfinfo.frames = spec.end_frame - spec.start_frame + 1;
-	sfinfo.channels = min (spec.channels, 2U);
+	sfinfo.channels = spec.channels;
 
 	return 0;
 }
-- 
1.5.5

