Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
aaaf124a
Commit
aaaf124a
authored
Dec 27, 2007
by
Miller Puckette
Browse files
callback bug fixes
parent
551a45ea
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/m_pd.h
View file @
aaaf124a
...
...
@@ -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 "test0
9
"
#define PD_TEST_VERSION "test
1
0"
/* 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 */
...
...
src/s_audio.c
View file @
aaaf124a
...
...
@@ -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
));
}
...
...
src/s_audio_pa.c
View file @
aaaf124a
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment