summaryrefslogtreecommitdiff
path: root/src/music/win32_m.cpp
AgeCommit message (Collapse)Author
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-30Fix: Signedness issue in midi driverCharles Pigott
2019-09-30Codechange: Fix warning about discarding qualifiers by *really* casting the ↵Charles Pigott
variable
2019-09-30Fix: Compilation error on MinGW due to usage of C++17 template deductionCharles Pigott
2019-08-31Add: [Win32] Select MIDI device by port nameNiels Martin Hansen
2019-07-04Fix: Correctly reset playback between songs in win32_m driverNiels Martin Hansen
2019-07-04Fix: Don't keep mutex locked while parsing MIDI dataNiels Martin Hansen
2019-07-04Fix: Time values should be DWORD everywhere in win32_mNiels Martin Hansen
2019-07-04Codechange: Fix comment indentationNiels Martin Hansen
2019-07-04Codechange: Use common source for well-known SysEx messages in Windows music ↵Niels Martin Hansen
drivers
2019-07-04Codechange: Add some const in preparationNiels Martin Hansen
2019-07-04Codechange: Use std::mutex instead of CRITICAL_SECTION in win32_mNiels Martin Hansen
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-28Fix: MSVC warnings (#7423)glx22
2019-03-26Codechange: Replaced SmallVector::[Begin|End]() with std alternativesHenry Wilson
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2018-06-15Change: Improved looping of title songNiels Martin Hansen
2018-06-15Change: Compensate for MIDI transmission time when skipping start of songNiels Martin Hansen
2018-06-15Change #6684: Cutting point overrides for music base setsNiels Martin Hansen
This improves bad looping of title screen song from Windows TTD, and fixes a long silence at the end of "Can't get there from here" from Windows TTD.
2018-06-05Feature: Decoder for DOS version musicNiels Martin Hansen
This is based on reverse-engineering the TTD DOS driver for General MIDI music.
2018-06-05Codechange: Pass a MusicSongInfo struct instead of bare filename to music ↵Niels Martin Hansen
drivers. Preparation for later extending the info passed to music drivers.
2018-05-01Change: [Win32 MIDI] Reset pitch bend range controllers on song changeNiels Martin Hansen
Some songs (at least one in OpenMSX) use the MIDI pitch bend range controllers but don't reset these at the end. This causes all subsequent songs to sound wrong.
2018-05-01Change: [Win32 MIDI] Send Roland reverb control message like TTD DOS doesNiels Martin Hansen
2018-05-01Change #6685: Replace Win32 music driver with one not depending on MCINiels Martin Hansen
MCI MIDI is poorly supported on newer versions of Windows and can cause large delays at the beginning of tracks. The new driver is based on a from-scratch reader for Standard MIDI Files. This should be re-usable in other music drivers too, and can allow for finer control of playback in general. It also provides a better framework for reading MIDI data from other formats than just SMF.
2016-10-30(svn r27673) -Add: [Win32] Thread names for windows debuggers.michi_cc
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2010-07-09(svn r20104) -Fix: [Win32] The win32 MIDI driver might clip the start of a song.michi_cc
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-04-10(svn r16024) -Codechange: harden string copying on places where it's possiblerubidium
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2008-09-29(svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy ↵rubidium
doesn't guarantee the resulting string is '\0'-terminated.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-03-15(svn r12373) -Fix [FS#1849]: win32 music driver fails if path is too long ↵glx
(128 chars is too much for mci it seems), so retry using the short path name (8.3 style) if available
2008-03-15(svn r12372) -Fix: win32 music driver fails if path contains non-latin charsglx
2008-03-14(svn r12366) -Codechange: use MAX_PATH instead hardcoded valueglx
2007-09-24(svn r11154) -Fix [FS#1239]: MIDI failing to play under Windows 95, 98 and ME.rubidium
2007-08-31(svn r11029) -Fix [FS#1164]: win32 midi doesn't stop when closing openttdglx
2007-07-05(svn r10444) -Codechange: switch to c++ classes and inheritance for ↵peter1138
sound/music/video drivers, using self-registration based on the blitter-model.
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-02-23(svn r8860) -Cleanup: some style changes, proper #endif comments, variable ↵Darkvater
initialisation, WINCE ifdef and a vsprintf to vsnprintf change.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)