From aaaf124a8ffd5ac1e5ce6900a7f20c58bcfdaf22 Mon Sep 17 00:00:00 2001
From: Miller Puckette <msp@ucsd.edu>
Date: Thu, 27 Dec 2007 16:33:01 -0800
Subject: [PATCH] callback bug fixes

---
 src/m_pd.h       | 2 +-
 src/s_audio.c    | 4 ++--
 src/s_audio_pa.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/m_pd.h b/src/m_pd.h
index 53238d60d..c92ba837c 100644
--- a/src/m_pd.h
+++ b/src/m_pd.h
@@ -11,7 +11,7 @@ extern "C" {
 #define PD_MAJOR_VERSION 0
 #define PD_MINOR_VERSION 41
 #define PD_BUGFIX_VERSION 0
-#define PD_TEST_VERSION "test09"
+#define PD_TEST_VERSION "test10"
 
 /* old name for "MSW" flag -- we have to take it for the sake of many old
 "nmakefiles" for externs, which will define NT and not MSW */
diff --git a/src/s_audio.c b/src/s_audio.c
index b3a744fc1..04b15b21d 100644
--- a/src/s_audio.c
+++ b/src/s_audio.c
@@ -432,7 +432,7 @@ void sys_reopen_audio( void)
         audio_state = 0;
         sched_set_using_audio(SCHED_AUDIO_NONE);
         sys_audioapiopened = -1;
-	audio_callback_is_open = 0;
+        audio_callback_is_open = 0;
     }
     else
     {
@@ -441,7 +441,7 @@ void sys_reopen_audio( void)
         sched_set_using_audio(
             (callback ? SCHED_AUDIO_CALLBACK : SCHED_AUDIO_POLL));
         sys_audioapiopened = sys_audioapi;
-	audio_callback_is_open = callback;
+        audio_callback_is_open = callback;
     }
     sys_vgui("set pd_whichapi %d\n",  (outcome == 0 ? sys_audioapi : 0));
 }
diff --git a/src/s_audio_pa.c b/src/s_audio_pa.c
index 52bb6ce49..85816ee76 100644
--- a/src/s_audio_pa.c
+++ b/src/s_audio_pa.c
@@ -67,7 +67,7 @@ static int pa_lowlevel_callback(const void *inputBuffer,
                 *fp3 = *soundiop++;
     }
     if (pa_foo)
-    	fprintf(stderr, "done pa_lowlevel_callback\n"); 
+        fprintf(stderr, "done pa_lowlevel_callback\n"); 
     return 0;
 }
 
-- 
GitLab