mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
577335aa66
- 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>
22 lines
419 B
C++
22 lines
419 B
C++
--- src/ossmidi.cc.orig 2007-12-18 19:48:23.000000000 +0100
|
|
+++ src/ossmidi.cc 2007-12-18 19:50:01.000000000 +0100
|
|
@@ -32,7 +32,8 @@
|
|
|
|
#include <assert.h>
|
|
|
|
-#include <iostream.h>
|
|
+#include <iostream>
|
|
+using namespace std;
|
|
#include <stdio.h>
|
|
#include <errno.h>
|
|
|
|
@@ -63,6 +64,8 @@
|
|
|
|
#ifdef HAVE_LINUX_SOUNDCARD_H
|
|
# include <linux/soundcard.h>
|
|
+#else
|
|
+# include <sys/soundcard.h>
|
|
#endif
|
|
|
|
#ifdef HAVE_SYS_IOCTL_H
|