Skip to content

Commit

Permalink
Version 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
garyscavone authored and radarsat1 committed Oct 11, 2013
1 parent 5f15183 commit 8910f7f
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $(LIBRARIES): $(OBJECTS)
$(AR) ruv $(STATIC) $(OBJECTS)
ranlib $(STATIC)
$(CC) -fPIC @libflags@ $(OBJECTS) @LIBS@
$(LN) -s @sharedname@ $(SHARED)
$(LN) -sf @sharedname@ $(SHARED)

# $(CC) -shared $(OBJECTS) -o $(SHARED) @LIBS@

Expand Down
12 changes: 6 additions & 6 deletions RtMidi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
*/
/**********************************************************************/

// RtMidi: Version 2.0.0
// RtMidi: Version 2.0.1

#include "RtMidi.h"
#include <sstream>
Expand Down Expand Up @@ -1056,7 +1056,7 @@ static unsigned int s_numPorts = 0;

// The client name to use when creating the sequencer, which is
// currently set on the first call to createSequencer.
static string s_clientName = "RtMidi Client";
static std::string s_clientName = "RtMidi Client";

// A structure to hold variables related to the ALSA API
// implementation.
Expand Down Expand Up @@ -2366,8 +2366,8 @@ void MidiOutWinMM :: sendMessage( std::vector<unsigned char> *message )
#include <setupapi.h>
#include <mmsystem.h>

#include "include/ks.h"
#include "include/ksmedia.h"
#include "ks.h"
#include "ksmedia.h"

#define INSTANTIATE_GUID(a) GUID const a = { STATIC_ ## a }

Expand Down Expand Up @@ -3614,6 +3614,8 @@ void MidiOutJack :: initialize( const std::string& clientName )
{
JackMidiData *data = new JackMidiData;

data->port = NULL;

// Initialize JACK client
if (( data->client = jack_client_open( clientName.c_str(), JackNullOption, NULL )) == 0) {
errorString_ = "MidiOutJack::initialize: JACK server not running?";
Expand All @@ -3626,8 +3628,6 @@ void MidiOutJack :: initialize( const std::string& clientName )
data->buffMessage = jack_ringbuffer_create( JACK_RINGBUFFER_SIZE );
jack_activate( data->client );

data->port = NULL;

apiData_ = (void *) data;
}

Expand Down
2 changes: 1 addition & 1 deletion RtMidi.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
\file RtMidi.h
*/

// RtMidi: Version 2.0.0
// RtMidi: Version 2.0.1

#ifndef RTMIDI_H
#define RTMIDI_H
Expand Down
2 changes: 1 addition & 1 deletion doc/doxygen/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ PROJECT_NAME = RtMidi
# This could be handy for archiving the generated documentation or
# if some version control system is used.

PROJECT_NUMBER = 2.0.0
PROJECT_NUMBER = 2.0.1

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
Expand Down
8 changes: 4 additions & 4 deletions doc/doxygen/tutorial.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ No incompatable API changes were made in version 2.0, however, support for multi

\section download Download

Latest Release (18 June 2012): <A href="http://www.music.mcgill.ca/~gary/rtmidi/release/rtmidi-2.0.0.tar.gz">Version 2.0.0</A>
Latest Release (26 July 2012): <A href="http://www.music.mcgill.ca/~gary/rtmidi/release/rtmidi-2.0.1.tar.gz">Version 2.0.1</A>

\section start Getting Started

Expand Down Expand Up @@ -350,9 +350,9 @@ In order to compile RtMidi for a specific OS and API, it is necessary to supply
<TR>
<TD>Linux</TD>
<TD>ALSA Sequencer</TD>
<TD>__LINUX_ALSASEQ__</TD>
<TD>__LINUX_ALSA__</TD>
<TD><TT>asound, pthread</TT></TD>
<TD><TT>g++ -Wall -D__LINUX_ALSASEQ__ -o midiprobe midiprobe.cpp RtMidi.cpp -lasound -lpthread</TT></TD>
<TD><TT>g++ -Wall -D__LINUX_ALSA__ -o midiprobe midiprobe.cpp RtMidi.cpp -lasound -lpthread</TT></TD>
</TR>
<TR>
<TD>Linux or Mac</TD>
Expand All @@ -366,7 +366,7 @@ In order to compile RtMidi for a specific OS and API, it is necessary to supply
<TD>CoreMidi</TD>
<TD>__MACOSX_CORE__</TD>
<TD><TT>CoreMidi, CoreAudio, CoreFoundation</TT></TD>
<TD><TT>g++ -Wall -D__MACOSX_CORE__ -o midiprobe midiprobe.cpp RtMidi.cpp -framework CoreMidi -framework CoreAudio -framework CoreFoundation</TT></TD>
<TD><TT>g++ -Wall -D__MACOSX_CORE__ -o midiprobe midiprobe.cpp RtMidi.cpp -framework CoreMIDI -framework CoreAudio -framework CoreFoundation</TT></TD>
</TR>
<TR>
<TD>Windows</TD>
Expand Down
3 changes: 3 additions & 0 deletions doc/release.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ RtMidi - a set of C++ classes that provides a common API for realtime MIDI input

By Gary P. Scavone, 2003-2012.

v2.0.1: (26 July 2012)
- small fixes for problems reported by Chris Arndt (scoping, preprocessor, and include)

v2.0.0: (18 June 2012)
- revised structure to support multiple simultaneous compiled APIs
- revised ALSA client hierarchy so subsequent instances share same client (thanks to Dan Wilcox)
Expand Down
2 changes: 1 addition & 1 deletion tests/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ OBJECTS = RtMidi.o
CC = @CXX@
DEFS = @CPPFLAGS@
CFLAGS = @CXXFLAGS@
CFLAGS += -I$(INCLUDE)
CFLAGS += -I$(INCLUDE) -I$(INCLUDE)/include
LIBRARY = @LIBS@

%.o : $(SRC_PATH)/%.cpp
Expand Down

0 comments on commit 8910f7f

Please sign in to comment.