1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/audio/musica/files/patch-src_events.cc
Martin Wilke 577335aa66 Musica is a GTK based MIDI player.
- Plays MIDI files on Linux machines with an OSS sound card interface.
- GTK based user interface supporting drag-and-drop for easy file
  selection. Drag a MIDI file from the GNOME-ified Midnight Commander
  to Musica's drop pocket and it automatically loads the file.
- Tempo adjustment, Play a MIDI file up to four times faster or slower.
- Fast forward. Skip those dull passages in a MIDI file.

WWW: http://www-ict.its.tudelft.nl/~erik/open-source/musica

PR:		ports/118839
Submitted by:	Pietro Cerutti <gahr at gahr.ch>
2007-12-18 23:19:54 +00:00

38 lines
1.0 KiB
C++

--- src/events.cc.orig 1999-06-09 12:14:04.000000000 +0200
+++ src/events.cc 2007-12-18 19:09:20.000000000 +0100
@@ -30,7 +30,8 @@
# include <config.h>
#endif
-#include <iostream.h>
+#include <iostream>
+using namespace std;
#ifdef STDC_HEADERS
# include <string.h>
@@ -267,8 +268,7 @@
//
//-------------------------------------------------------------------------
-midiMetaTextEvent::midiMetaTextEvent(long int dT = 0L, midiEvent *n = 0,
- char *t = 0) :
+midiMetaTextEvent::midiMetaTextEvent(long int dT, midiEvent *n, char *t) :
midiEvent(dT, n)
{
if(t == 0)
@@ -602,10 +602,10 @@
//
//-------------------------------------------------------------------------
-midiSequencerSpecificEvent::midiSequencerSpecificEvent(long int dT = 0L,
- midiEvent *n = 0,
- unsigned char *d = 0,
- int l = 0) :
+midiSequencerSpecificEvent::midiSequencerSpecificEvent(long int dT,
+ midiEvent *n,
+ unsigned char *d,
+ int l) :
midiEvent(dT, n)
{
if(d == 0)