mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 16:43:33 +02:00
Minor bug fixes for EXPERIMENTAL_MIDI_OUT. Also added files for autoconf/automake to portmidi and libscorealign. I also modified my local build-related files in src and lib-src to handle EXPERIMENTAL_MIDI_OUT and EXPERIMENTAL_SCOREALIGN, but while I can build with these options, the build-related files are not entirely working, so I will not commit them and break the "normal" builds. I suspect these new build files in this commit are not entirely correct -- some review is in order.
This commit is contained in:
@@ -66,17 +66,17 @@ PMEXPORT PtError Pt_Start(int resolution, PtCallback *callback, void *userData);
|
||||
return value:
|
||||
Upon success, returns ptNoError. See PtError for other values.
|
||||
*/
|
||||
PMEXPORT PtError Pt_Stop();
|
||||
PMEXPORT PtError Pt_Stop(void);
|
||||
|
||||
/*
|
||||
Pt_Started() returns true iff the timer is running.
|
||||
*/
|
||||
PMEXPORT int Pt_Started();
|
||||
PMEXPORT int Pt_Started(void);
|
||||
|
||||
/*
|
||||
Pt_Time() returns the current time in ms.
|
||||
*/
|
||||
PMEXPORT PtTimestamp Pt_Time();
|
||||
PMEXPORT PtTimestamp Pt_Time(void);
|
||||
|
||||
/*
|
||||
Pt_Sleep() pauses, allowing other threads to run.
|
||||
|
@@ -101,7 +101,6 @@ PtError Pt_Start(int resolution, PtCallback *callback, void *userData)
|
||||
|
||||
PtError Pt_Stop()
|
||||
{
|
||||
/* printf("Pt_Stop called\n"); */
|
||||
pt_callback_proc_id++;
|
||||
if (pt_thread_created) {
|
||||
pthread_join(pt_thread_pid, NULL);
|
||||
|
Reference in New Issue
Block a user