diff main/OSCHandler.cpp @ 428:5f22e0bbe4ba

Use new write mode option for WavFileWriter
author Chris Cannam
date Wed, 11 May 2011 11:05:10 +0100
parents 635b79462d3e
children 9de86c1b980e
line wrap: on
line diff
--- a/main/OSCHandler.cpp	Thu Apr 14 12:13:06 2011 +0100
+++ b/main/OSCHandler.cpp	Wed May 11 11:05:10 2011 +0100
@@ -106,7 +106,8 @@
                 } else {
                     WavFileWriter writer(path,
                                          getMainModel()->getSampleRate(),
-                                         getMainModel()->getChannelCount());
+                                         getMainModel()->getChannelCount(),
+                                         WavFileWriter::WriteToTemporary);
                     MultiSelection ms = m_viewManager->getSelection();
                     if (!ms.getSelections().empty()) {
                         writer.writeModel(getMainModel(), &ms);