changeset 921:67540751da93 cxx11

Further dedicated-types fixes
author Chris Cannam
date Tue, 10 Mar 2015 17:02:52 +0000
parents a824fe3f9f45
children a16456ca5e71
files .hgsubstate main/MainWindow.cpp main/MainWindow.h
diffstat 3 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsubstate	Tue Mar 10 13:22:10 2015 +0000
+++ b/.hgsubstate	Tue Mar 10 17:02:52 2015 +0000
@@ -1,5 +1,5 @@
 d16f0fd6db6104d87882bc43788a3bb1b0f8c528 dataquay
 879bdc878826bebec67130326f99397c430419b1 sv-dependency-builds
-618d5816b04df9eea992a67eb092cb98288646b2 svapp
-2f49be7d4264ddcb12f8ae9335ceb9ba6389a002 svcore
+72c662fe7ea311077a1a163dd3afa32581587805 svapp
+26cf6d5251ec93b965a5d4b20bb76f6da9ef85ae svcore
 4a578a360011e1bca3a5885e15835564e398a200 svgui
--- a/main/MainWindow.cpp	Tue Mar 10 13:22:10 2015 +0000
+++ b/main/MainWindow.cpp	Tue Mar 10 17:02:52 2015 +0000
@@ -4052,7 +4052,8 @@
 }
 
 void
-MainWindow::sampleRateMismatch(int requested, int actual,
+MainWindow::sampleRateMismatch(sv_samplerate_t requested,
+                               sv_samplerate_t actual,
                                bool willResample)
 {
     if (!willResample) {
--- a/main/MainWindow.h	Tue Mar 10 13:22:10 2015 +0000
+++ b/main/MainWindow.h	Tue Mar 10 17:02:52 2015 +0000
@@ -66,7 +66,7 @@
     virtual void closeSession();
     virtual void preferences();
 
-    virtual void sampleRateMismatch(int, int, bool);
+    virtual void sampleRateMismatch(sv_samplerate_t, sv_samplerate_t, bool);
     virtual void audioOverloadPluginDisabled();
     virtual void audioTimeStretchMultiChannelDisabled();