meld-driven unification of current ardour-ish WavesAudio backend and current tracks WavesAudio backend.

May be incomplete, and may not compile (testing to follow)
This commit is contained in:
Paul Davis 2015-05-13 19:11:27 -04:00
parent 0fca07fa9d
commit 237f255fb5
14 changed files with 490 additions and 253 deletions

View file

@ -361,13 +361,14 @@ WTErr WCMRAudioDevice::ResetDevice ()
WTErr err = SetStreaming(false);
if (err == eNoErr)
SetActive(false);
err = SetActive(false);
if (err == eNoErr && wasActive)
SetActive(true);
err = SetActive(true);
if (err == eNoErr && wasStreaming)
SetStreaming(true);
if (err == eNoErr && wasStreaming) {
err = SetStreaming(true);
}
return err;
}