summaryrefslogtreecommitdiff
path: root/opl
AgeCommit message (Collapse)Author
2015-04-10Add missing #includes.Simon Howard
2014-12-26allow building in subdirectory or outside source directoryDave Murphy
2014-10-07opl: Use uint64_t for microsecond times.Simon Howard
Previous revamping of the OPL library changed delay times from ms to us, and switched to 64-bit times for storage for them. However this type change was botched and some functions were still using 32-bit arguments. Change to 64-bit types. Thanks Quasar for reporting this. This fixes #438.
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-10opl: Add API to adjust tempo.Simon Howard
When the tempo is changed, the times on all active timers must be adjusted to match the new timing values. Add an API to do this and invoke it when a tempo change meta event is read.
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.
2013-08-11Remove Windows CE support.Simon Howard
What support exists is for obsolete devices I no longer possess; I've never been contacted about the port and it's been several years since I even bothered to build a new version. All the extra overrides are clutter that can just be removed. Subversion-branch: /branches/v2-branch Subversion-revision: 2615
2011-04-26Support for Win32 native OPL output when compiled with Microsoft VisualJames Haley
C++. Confirmed to work with Aureal Vortex AU8830 in Win98SE by GhostlyDeath. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2331
2011-03-03Fix Visual Studio build (thanks GhostlyDeath).Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2287
2010-08-31Don't double OPL sample values, as it causes horrible things to happenSimon Howard
with the Heretic title screen music. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1988
2010-08-22Shut up compiler warning.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1964
2010-08-15Fix volume multiply; DBOPL now generating output.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1957
2010-08-15Hook DBOPL into OPL library and remove FMOPL. Does not generate anySimon Howard
sound yet. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1956
2010-08-13Add C-converted version of DOSbox OPL emulator.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1955
2010-03-08Add OPL-TODO to dist, set svn:ignore properties.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1880
2010-03-08Load advapi32.dll pointers dynamically at runtime. This should fix anySimon Howard
potential problems with that library not existing on Win9x. Subversion-branch: /branches/opl-branch Subversion-revision: 1877
2010-02-27Use wide-character versions of Win32 API functions. Clean up properly ifSimon Howard
it was not possible to start the ioperm service. Subversion-branch: /branches/opl-branch Subversion-revision: 1875
2010-02-27When loading driver, pass the full path to the ioperm.sys file.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1874
2010-02-27Fix race condition with condition variable freed before it is signaled.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1873
2010-02-26Add OPL hardware playback support for Windows NT-based systems.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1871
2010-02-05Add a hint message about permissions if unable to get I/O permissionsSimon Howard
for hardware OPL access. Subversion-branch: /branches/opl-branch Subversion-revision: 1844
2009-10-17Change GetSliceSize() to always return a power of two.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1724
2009-10-17Add OPL library API function to set software emulation sample rate, andSimon Howard
set from snd_samplerate in the configuration file. Subversion-branch: /branches/opl-branch Subversion-revision: 1723
2009-10-04Make OpenBSD native OPL backend work on x86_64 as well as i386.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1707
2009-10-03Use Mix_HookMusic rather than Mix_SetPostMix for OPL emulation, to avoidSimon Howard
conflict with PC speaker emulation. Subversion-branch: /branches/opl-branch Subversion-revision: 1706
2009-10-01Convert to American English spellings.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1700
2009-09-30Initialize dwOSVersionInfoSize before calling GetVersionEx().Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1697
2009-09-30Add Win9x native OPL driver (untested).Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1696
2009-09-27Set privilege level to 3, not 1.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1694
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-09-26Add OpenBSD/NetBSD native OPL backend.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1690
2009-09-24Disable OPL debug output.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1689
2009-09-21Implement pausing of music.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1688
2009-08-30Add method to clear all existing callbacks.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1642
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-29Don't crash if OPL is shutdown after SDL was initialised.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1635
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-06-02Disable debug output.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1541
2009-06-02Fix crash due to timer thread starting before resources allocated.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1540
2009-05-31Fix OPL callback queue.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1539
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
2009-05-27Add initial SDL driver.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1534
2009-05-27Oops.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1533
2009-03-29Fix compile warning.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1491
2009-03-11Debug trace code for register writes.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1462