summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorben <ben>2005-04-24 14:41:28 +0000
committerben <ben>2005-04-24 14:41:28 +0000
commit8c485ea0656ad0756a0eb45af99a48b75c79fd5c (patch)
tree284cb4de401d43f5e77a7261550740a63b255213 /lang
parentbb3cd5c36de2de9e6d994b6c81956ea5f2475ede (diff)
downloadpkgsrc-8c485ea0656ad0756a0eb45af99a48b75c79fd5c.tar.gz
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.
Diffstat (limited to 'lang')
0 files changed, 0 insertions, 0 deletions