Commit aaaf124a authored by Miller Puckette's avatar Miller Puckette
Browse files

callback bug fixes

parent 551a45ea
......@@ -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 */
......
......@@ -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));
}
......
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment