Rubidium
3323402aaa
Codechange: rename smallvec_type to container_func and use only when needed
2023-05-20 16:53:10 +02:00
rubidium42
55a11710a6
Codechange: convert printf DEBUG statements to fmt Debug statements
2021-06-13 12:45:45 +02:00
Charles Pigott
9b800a96ed
Codechange: Remove min/max functions in favour of STL variants ( #8502 )
2021-01-08 11:16:18 +01:00
Michael Lutz
37bc2f8064
Codechange: Use std::string in the driver and blitter selection code.
2020-05-21 20:02:34 +02:00
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
Charles Pigott
3cc6b7f725
Fix: Signedness issue in midi driver
2019-09-30 14:00:06 +01:00
Charles Pigott
7b400d43c1
Codechange: Fix warning about discarding qualifiers by *really* casting the variable
2019-09-30 14:00:06 +01:00
Charles Pigott
b839e355ba
Fix: Compilation error on MinGW due to usage of C++17 template deduction
2019-09-30 14:00:06 +01:00
Niels Martin Hansen
a933afabfd
Add: [Win32] Select MIDI device by port name
2019-08-31 21:13:25 +01:00
Niels Martin Hansen
a0c78c73e3
Fix: Correctly reset playback between songs in win32_m driver
2019-07-04 22:27:34 +02:00
Niels Martin Hansen
a4cf1c8aec
Fix: Don't keep mutex locked while parsing MIDI data
2019-07-04 22:27:34 +02:00
Niels Martin Hansen
9839ce006c
Fix: Time values should be DWORD everywhere in win32_m
2019-07-04 22:27:34 +02:00
Niels Martin Hansen
f8633fc63b
Codechange: Fix comment indentation
2019-07-04 22:27:34 +02:00
Niels Martin Hansen
27384486e4
Codechange: Use common source for well-known SysEx messages in Windows music drivers
2019-07-04 22:27:34 +02:00
Niels Martin Hansen
9d8a83bf8d
Codechange: Add some const in preparation
2019-07-04 22:27:34 +02:00
Niels Martin Hansen
c74df8581d
Codechange: Use std::mutex instead of CRITICAL_SECTION in win32_m
2019-07-04 22:27:34 +02:00
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
2019-04-10 23:22:20 +02:00
glx22
66dd7c3879
Fix: MSVC warnings ( #7423 )
2019-03-28 00:09:33 +01:00
Henry Wilson
ab711e6942
Codechange: Replaced SmallVector::[Begin|End]() with std alternatives
2019-03-26 20:15:57 +00:00
Henry Wilson
a690936ed7
Codechange: Replace SmallVector::Length() with std::vector::size()
2019-03-26 20:15:57 +00:00
Niels Martin Hansen
a1b7812c7e
Change: Improved looping of title song
2018-06-15 23:09:17 +02:00
Niels Martin Hansen
11a846e3d5
Change: Compensate for MIDI transmission time when skipping start of song
2018-06-15 23:09:17 +02:00
Niels Martin Hansen
276192f714
Change #6684 : Cutting point overrides for music base sets
...
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-15 23:09:17 +02:00
Niels Martin Hansen
2ae9df7248
Feature: Decoder for DOS version music
...
This is based on reverse-engineering the TTD DOS driver for General MIDI music.
2018-06-05 22:58:35 +02:00
Niels Martin Hansen
f946b3da56
Codechange: Pass a MusicSongInfo struct instead of bare filename to music drivers.
...
Preparation for later extending the info passed to music drivers.
2018-06-05 22:58:35 +02:00
Niels Martin Hansen
52655b5849
Change: [Win32 MIDI] Reset pitch bend range controllers on song change
...
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-01 22:29:53 +02:00
Niels Martin Hansen
99a39c842c
Change: [Win32 MIDI] Send Roland reverb control message like TTD DOS does
2018-05-01 22:29:53 +02:00
Niels Martin Hansen
b902e01e10
Change #6685 : Replace Win32 music driver with one not depending on MCI
...
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.
2018-05-01 22:29:53 +02:00
michi_cc
c83306391e
(svn r27673) -Add: [Win32] Thread names for windows debuggers.
2016-10-30 18:22:55 +00:00
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
michi_cc
58f1470129
(svn r20104) -Fix: [Win32] The win32 MIDI driver might clip the start of a song.
2010-07-09 20:50:28 +00:00
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
rubidium
bee930f9b3
(svn r16024) -Codechange: harden string copying on places where it's possible
2009-04-10 20:37:05 +00:00
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
2009-03-15 00:32:18 +00:00
rubidium
11da45ee55
(svn r14949) -Cleanup: pointer coding style
2009-01-10 00:31:47 +00:00
rubidium
e7829c1a57
(svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy doesn't guarantee the resulting string is '\0'-terminated.
2008-09-29 16:27:02 +00:00
rubidium
d03994098b
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
2008-05-06 15:11:33 +00:00
glx
013d7db19f
(svn r12373) -Fix [FS#1849]: win32 music driver fails if path is too long (128 chars is too much for mci it seems), so retry using the short path name (8.3 style) if available
2008-03-15 21:20:40 +00:00
glx
1abd2bd700
(svn r12372) -Fix: win32 music driver fails if path contains non-latin chars
2008-03-15 21:12:08 +00:00
glx
f8bae50bf5
(svn r12366) -Codechange: use MAX_PATH instead hardcoded value
2008-03-14 18:31:37 +00:00
rubidium
b12785cf7c
(svn r11154) -Fix [FS#1239]: MIDI failing to play under Windows 95, 98 and ME.
2007-09-24 19:11:26 +00:00
glx
1f7f4f6f62
(svn r11029) -Fix [FS#1164]: win32 midi doesn't stop when closing openttd
2007-08-31 23:29:53 +00:00
peter1138
68c6add8cc
(svn r10444) -Codechange: switch to c++ classes and inheritance for sound/music/video drivers, using self-registration based on the blitter-model.
2007-07-05 12:23:54 +00:00
rubidium
36bb92ae24
(svn r9050) -Codechange: Foo(void) -> Foo()
2007-03-07 11:47:46 +00:00
Darkvater
1bbbbeeef1
(svn r8860) -Cleanup: some style changes, proper #endif comments, variable initialisation, WINCE ifdef and a vsprintf to vsnprintf change.
2007-02-23 12:56:10 +00:00
KUDr
e373ea7096
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
2007-01-10 18:12:09 +00:00