Mercurial > hg > sonic-visualiser
changeset 437:9de86c1b980e
Merge from debug-output branch
author | Chris Cannam |
---|---|
date | Tue, 14 Jun 2011 14:50:08 +0100 |
parents | 5f22e0bbe4ba (diff) ae68fc09bf16 (current diff) |
children | 868f73825b37 |
files | main/MainWindow.cpp main/OSCHandler.cpp |
diffstat | 2 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/main/MainWindow.cpp Mon May 16 17:19:56 2011 +0100 +++ b/main/MainWindow.cpp Tue Jun 14 14:50:08 2011 +0100 @@ -2306,7 +2306,8 @@ WavFileWriter subwriter(subpath, model->getSampleRate(), - model->getChannelCount()); + model->getChannelCount(), + WavFileWriter::WriteToTemporary); subwriter.writeModel(model, &subms); ok = subwriter.isOK(); @@ -2321,7 +2322,8 @@ if (!multiple) { WavFileWriter writer(path, model->getSampleRate(), - model->getChannelCount()); + model->getChannelCount(), + WavFileWriter::WriteToTemporary); writer.writeModel(model, selectionToWrite); ok = writer.isOK(); error = writer.getError();
--- a/main/OSCHandler.cpp Mon May 16 17:19:56 2011 +0100 +++ b/main/OSCHandler.cpp Tue Jun 14 14:50:08 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);