From b12ebf721826767a3de11923ba606639a8bb7411 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 30 Nov 2008 13:03:43 +0000 Subject: Fixed sysEx buffer sizes. svn-id: r35192 --- backends/midi/seq.cpp | 2 +- backends/midi/timidity.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'backends') diff --git a/backends/midi/seq.cpp b/backends/midi/seq.cpp index 9c7cc83d67..5b7f071fd9 100644 --- a/backends/midi/seq.cpp +++ b/backends/midi/seq.cpp @@ -146,7 +146,7 @@ void MidiDriver_SEQ::send(uint32 b) { } void MidiDriver_SEQ::sysEx (const byte *msg, uint16 length) { - unsigned char buf [1330]; + unsigned char buf [266*4]; int position = 0; const byte *chr = msg; diff --git a/backends/midi/timidity.cpp b/backends/midi/timidity.cpp index 47ef0f2ea9..ade73c0f8a 100644 --- a/backends/midi/timidity.cpp +++ b/backends/midi/timidity.cpp @@ -487,7 +487,7 @@ void MidiDriver_TIMIDITY::send(uint32 b) { void MidiDriver_TIMIDITY::sysEx(const byte *msg, uint16 length) { fprintf(stderr, "Timidity::sysEx\n"); - unsigned char buf[1330]; + unsigned char buf[266*4]; int position = 0; const byte *chr = msg; -- cgit v1.2.3