Changeset 5417:9152cdd6a02c in roaraudio


Ignore:
Timestamp:
02/20/12 20:05:50 (10 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Fixed bug in MIDI clock (Closes: #193) (pr2)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r5415 r5417  
    1515        * Typos (Closes: #192) (pr2) 
    1616        * Support MUTE flag on output streams as well (Closes: #194) (pr2) 
     17        * Fixed bug in MIDI clock (Closes: #193) (pr2) 
    1718 
    1819v. 0.4 - Fri Nov 11 2011 20:12 CET 
  • roard/midi.c

    r5416 r5417  
    813813 } 
    814814 
    815  while ( g_pos >= g_midi_clock.nt ) { 
     815 // the strange expr at the end is to avoid warp around bugs. 
     816 while ( g_pos >= g_midi_clock.nt && !(g_pos > (uint32_t)4294900000LU && g_midi_clock.nt < (uint32_t)1000LU) ) { 
    816817#ifdef DEBUG 
    817818  diff = g_pos - g_midi_clock.nt; 
Note: See TracChangeset for help on using the changeset viewer.