summaryrefslogtreecommitdiff
path: root/opl/examples/droplay.c
AgeCommit message (Collapse)Author
2015-04-10Add missing #includes.Simon Howard
2014-05-11opl: Change library to use us instead of ms.Simon Howard
Multi-track MIDI files are played back using separate callback chains for each track, and this introduces the possibility of one track becoming out of sync with the others. This was noticeable in WADs that use multi-track MIDIs, such as Alien Vendetta. Increase the timing resolution to microsecond precision to fix this.
2014-05-05Clean up file headers.Simon Howard
This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
2009-09-26Move register read/write code into OPL library. Detect OPL in theSimon Howard
library code, so that we fall back to software emulation if we have port access but an OPL is not detected. Fix detection of ioperm in configure. Subversion-branch: /branches/opl-branch Subversion-revision: 1692
2009-08-29Use OPL_Delay to wait 1ms for timer to expire when doing OPL detect.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1638
2009-08-29Fix crash when specifying an invalid filename.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1634
2009-08-29Set timer callback for OPL emulator so that the adlib detection routineSimon Howard
works. Subversion-branch: /branches/opl-branch Subversion-revision: 1633
2009-08-28Working SDL OPL driver.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1632
2009-05-30Add initial callback/timer API.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1538
2009-05-28Set channel bits for OPL3 so that OPL2 traces will play back properly.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1537
2009-05-28Fix OPL detect.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1536
2009-05-28Add droplay example program from /research, adapted to work with OPLSimon Howard
library. Subversion-branch: /branches/opl-branch Subversion-revision: 1535