2005-04-24 16:41:28 by Ben Collver | Files touched by this commit (2) |
Log message:
Fixes for SpiralSound/Midi.C
* test for failure of open() should be == -1, not == 0
This causes Open() to behave as intended, only creating the
m_MidiReader thread if the MIDI device is successfully opened.
* unconditionally initialize m_Mutex in Open()
* conditionally close m_MidiReader in Close(), if NULL do nothing
* make m_MidiFd and m_MidiWrFd the same file descriptor. The MIDI
device special file can only be opened once at a time.
|
2005-04-24 05:29:11 by Ben Collver | Files touched by this commit (2) |
Log message:
The problem is that SpiralSynth opens the MIDI device path before
calling SetDeviceName.
The call trace goes something like this:
Synth.C
main() ==> Synth *synth=new Synth; ==> Synth::Synth()
==> MidiDevice::Get()->SetDeviceName(SpiralInfo::MIDIFILE);
SpiralSound/Midi.h
MidiDevice::Get() ==> m_Singleton=new MidiDevice;
==> MidiDevice::MidiDevice() ==> MidiDevice::Open()
==> MidiDevice::SetDeviceName
patches/patch-ao works around this problem by closing the prematurely
opened private variable representing the MIDI device, and setting it to
NULL. MidiDevice methods check for NULL and re-initialize the private
variable, this time opening the MIDI device path after SetDeviceName.
|
2005-04-11 23:48:17 by Todd Vierling | Files touched by this commit (3539) |
Log message:
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
|
2005-02-24 04:39:42 by Ben Collver | Files touched by this commit (1) |
Log message:
Change quote escaping to reflect Todd Vierling's recent makefile fixes.
|
2004-11-25 18:24:27 by Ben Collver | Files touched by this commit (12) |
Log message:
Update SpiralSynth to version 2.0.0. Notable changes include:
* Totally replaced audio core code with SSM plugin code,
modified for static linking.
* Uses 32bit floating point format internally.
* New midi device handling.
* New OSS output code.
* New funky sliders.
* Updated for fltk 1.1.0
|
2004-10-03 02:13:34 by Todd Vierling | Files touched by this commit (908) |
Log message:
Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
|
2004-04-14 17:05:01 by Ben Collver | Files touched by this commit (1) |
Log message:
Remove c from USE_LANGUAGES since this package uses C++.
|
2004-04-13 11:38:39 by Juan Romero Pardines | Files touched by this commit (5) | |
Log message:
Bump PKGREVISION due to x11/fltk update (s/USE_X11BASE/USE_X11/).
|
2004-04-11 20:50:45 by Juan Romero Pardines | Files touched by this commit (1) |
Log message:
bl3ify, set USE_LANGUAGES=c c++.
|
2004-02-15 07:00:57 by Ben Collver | Files touched by this commit (2) |
Log message:
Make SpiralSynth build with FLTK 1.1.x as well as 1.0.x
|