From 5cc525cd549a4b2b46832f90c2f156a64a5f5f70 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 10 Mar 2017 21:34:42 +0100 Subject: [PATCH] - renamed Timidity++ device source file for consistency. --- src/CMakeLists.txt | 2 +- ...ty.cpp => music_timiditypp_mididevice.cpp} | 34 +++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) rename src/sound/mididevices/{music_midi_timidity.cpp => music_timiditypp_mididevice.cpp} (91%) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0d4b27f06..8b30f7198 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -912,7 +912,7 @@ set( FASTMATH_SOURCES sound/music_stream.cpp sound/oalsound.cpp sound/sndfile_decoder.cpp - sound/mididevices/music_midi_timidity.cpp + sound/mididevices/music_timiditypp_mididevice.cpp gl/data/gl_matrix.cpp gl/dynlights/a_dynlight.cpp gl/utility/gl_clock.cpp diff --git a/src/sound/mididevices/music_midi_timidity.cpp b/src/sound/mididevices/music_timiditypp_mididevice.cpp similarity index 91% rename from src/sound/mididevices/music_midi_timidity.cpp rename to src/sound/mididevices/music_timiditypp_mididevice.cpp index a45a1f501..e2166c0a1 100644 --- a/src/sound/mididevices/music_midi_timidity.cpp +++ b/src/sound/mididevices/music_timiditypp_mididevice.cpp @@ -1,3 +1,37 @@ +/* +** music_timiditypp_mididevice.cpp +** Provides access to timidity.exe +** +**--------------------------------------------------------------------------- +** Copyright 2001-2017 Randy Heit +** All rights reserved. +** +** Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** 1. Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** 2. Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** 3. The name of the author may not be used to endorse or promote products +** derived from this software without specific prior written permission. +** +** THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +** IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +** OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +** IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +** NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +** THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +**--------------------------------------------------------------------------- +** +*/ + #include "i_midi_win32.h"