1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Use correct device to probe number of MIDI inputs.

PR:		112739
Submitted by:	Devon H. O'Dell
This commit is contained in:
Tom McLaughlin 2007-07-02 18:13:07 +00:00
parent 00d626ac1a
commit e2a517ffe7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194703
2 changed files with 9 additions and 4 deletions

View File

@ -8,7 +8,7 @@
PORTNAME= midimountain
PORTVERSION= 0.3.0
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= http://www.midimountain.com/download/ \
${MASTER_SITE_SOURCEFORGE}

View File

@ -1,6 +1,6 @@
--- midimountain/mcOSSIO.cpp Wed Dec 11 23:35:35 2002
+++ midimountain/mcOSSIO.cpp Wed Dec 11 23:35:37 2002
@@ -1,13 +1,14 @@
--- midimountain/mcOSSIO.cpp.orig Tue Oct 23 23:19:14 2001
+++ midimountain/mcOSSIO.cpp Mon Jul 2 14:09:01 2007
@@ -1,17 +1,18 @@
//=============================================================================
// implementation class midi IO
//=============================================================================
@ -16,6 +16,11 @@
// define static variables:
-const char* TMidiOSSIO::sequencer = "/dev/music";
+const char* TMidiOSSIO::sequencer = "/dev/music0";
int TMidiOSSIO::class_count = 0;
uchar TMidiOSSIO::midi_write_packet[4] = {SEQ_MIDIPUTC, 0, 0, 0};
uchar TMidiOSSIO::midi_read_packet[4];
@@ -464,7 +465,7 @@
break;