[odamex-bug-reporter] [Bug 826] Some MIDI Music Sequences Cause FPS Drop In Portmidi

  • From: odamex-bugtracker@xxxxxxxxxx
  • To: odamex-bug-reporter@xxxxxxxxxxxxx
  • Date: Sat, 11 May 2013 17:16:10 +0000

http://odamex.net/bugs/show_bug.cgi?id=826

Dr. Sean <grandpachuck187@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |grandpachuck187@xxxxxxxxx

--- Comment #2 from Dr. Sean <grandpachuck187@xxxxxxxxx> ---
In the MIDI file for 32in24_7 MAP01, there are roughly 130 duplicate MIDI
controller event messages that play at the same time approximately 48 seconds
into the song. Odamex's PortMidi initialization code sets PortMidi's event
buffer size to 100. When playing this song, PortMidi can't handle the number of
event messages it receives during that section and seems to have undefined
behavior. Although 100 events is a reasonable buffer size, it does not handle
certain songs like this one. r3835 increases the event buffer size to 1024 and
appears to fix the issue. Please test and confirm.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Other related posts: