changeset 372:1162c93e7688 tonioni

Fix signed/unsigned
author Chris Cannam
date Wed, 18 Jun 2014 17:33:00 +0100
parents a1b8b6a2cdfc
children 98afba87887f d8bde801ebd4
files audioio/AudioPortAudioTarget.cpp audioio/AudioPortAudioTarget.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/audioio/AudioPortAudioTarget.cpp	Wed Jun 18 13:42:37 2014 +0100
+++ b/audioio/AudioPortAudioTarget.cpp	Wed Jun 18 17:33:00 2014 +0100
@@ -185,7 +185,7 @@
 
 int
 AudioPortAudioTarget::process(const void *, void *outputBuffer,
-                              unsigned long nframes,
+                              int nframes,
                               const PaStreamCallbackTimeInfo *,
                               PaStreamCallbackFlags)
 {
--- a/audioio/AudioPortAudioTarget.h	Wed Jun 18 13:42:37 2014 +0100
+++ b/audioio/AudioPortAudioTarget.h	Wed Jun 18 17:33:00 2014 +0100
@@ -46,7 +46,7 @@
     virtual void sourceModelReplaced();
 
 protected:
-    int process(const void *input, void *output, unsigned long frames,
+    int process(const void *input, void *output, int frames,
                 const PaStreamCallbackTimeInfo *timeInfo,
                 PaStreamCallbackFlags statusFlags);