Commit 75cbc619 authored by bret curtis's avatar bret curtis

Imported Upstream version 0.3.8

parent daed7d24
......@@ -5,7 +5,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
# WildMIDI Version
SET(VERSION_MAJOR 0)
SET(VERSION_MINOR 3)
SET(VERSION_RELEASE 7)
SET(VERSION_RELEASE 8)
SET(WILDMIDI_VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_RELEASE}")
# Lib Versions
......
For the player see docs/license/GPLv3.txt
For the library see docs/license/LGPLv3.txt
For the player see docs/license/GPLv3.txt
For the library see docs/license/LGPLv3.txt
......@@ -6,7 +6,7 @@ files into audio which is then passed back to the calling application.
The library API is designed so that it is easy to include WildMIDI into
applications that wish to include MIDI file playback.
Version: 0.3.7
Version: 0.3.8
Licenses: GPLv3+ and LGPLv3
Website: http://www.mindwerks.net/projects/wildmidi
......@@ -30,6 +30,12 @@ Requirements:
CHANGELOG
0.3.8
* Library: Fixed a seek-to-0 bug in order to cure an issue of truncated
start (bug #100, gnome/gstreamer bug #694811.)
* Player, OpenAL: reduced buffers from 8 to 4 so as to cure some output
delay issues (bug #85.)
0.3.7
* Plug a memory leak in case of broken midis.
* Properly reset global state upon library shutdown.
......
This directory contains the Makefile and config.h needed to compile
libWilMidi library and wildmidi player for DOS using DJGPP.
To compile, you need DJGPP library and its associated compiler suite.
Both djgpp-v2.03 and v2.04 should work. DJGPP is available from its
official site at <http://www.delorie.com/djgpp/>
Cd in to the djgpp directory and run 'make', i.e.:
cd djgpp
make
.. which will generate libWildMidi.a and wildmidi.exe. If necessary,
edit the Makefile to meet your needs/environment.
The player (wildmidi.exe) can either output to a Sound Blaster (SB1,
SB2, SBPro, SB16, or compatible) hardware:
wildmidi mymidi.mid
... or, it can generate a wav file:
wildmidi -o output.wav mymidi.mid
Use -r <SampleRate> to specify a sample rate, use -c <ConfigFile> to
point to your wildmidi.cfg config file:
wildmidi -c c:\wildmidi.cfg -r 22050 mymidi.mid
Run "wildmidi -h" to see other command line switches.
This directory contains the Makefile and config.h needed to compile
libWilMidi library and wildmidi player for DOS using DJGPP.
To compile, you need DJGPP library and its associated compiler suite.
Both djgpp-v2.03 and v2.04 should work. DJGPP is available from its
official site at <http://www.delorie.com/djgpp/>
Cd in to the djgpp directory and run 'make', i.e.:
cd djgpp
make
.. which will generate libWildMidi.a and wildmidi.exe. If necessary,
edit the Makefile to meet your needs/environment.
The player (wildmidi.exe) can either output to a Sound Blaster (SB1,
SB2, SBPro, SB16, or compatible) hardware:
wildmidi mymidi.mid
... or, it can generate a wav file:
wildmidi -o output.wav mymidi.mid
Use -r <SampleRate> to specify a sample rate, use -c <ConfigFile> to
point to your wildmidi.cfg config file:
wildmidi -c c:\wildmidi.cfg -r 22050 mymidi.mid
Run "wildmidi -h" to see other command line switches.
#define VERSION "0.3.7"
#define VERSION "0.3.8"
#define WILDMIDI_CFG "wildmidi.cfg"
#define PACKAGE_URL "http://www.mindwerks.net/projects/wildmidi/"
......
......@@ -880,7 +880,7 @@ static void close_oss_output(void) {
#elif defined AUDIODRV_OPENAL
#define NUM_BUFFERS 8
#define NUM_BUFFERS 4
static ALCdevice *device;
static ALCcontext *context;
......
......@@ -4066,7 +4066,7 @@ WM_SYMBOL int WildMidi_FastSeek(midi * handle, unsigned long int *sample_pos) {
/* clear the reverb buffers since we not gonna be using them here */
_WM_reset_reverb(mdi->reverb);
do {
while (count) {
if (__builtin_expect((!mdi->samples_to_mix), 0)) {
while ((!mdi->samples_to_mix) && (event->do_event)) {
event->do_event(mdi, &event->event_data);
......@@ -4098,7 +4098,7 @@ WM_SYMBOL int WildMidi_FastSeek(midi * handle, unsigned long int *sample_pos) {
count -= real_samples_to_mix;
mdi->info.current_sample += real_samples_to_mix;
mdi->samples_to_mix -= real_samples_to_mix;
} while (count);
}
note_data = mdi->note;
if (note_data) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment