c++ - Windows application on close -
this issue midi application receive sudden overflow of midi buffer when application startup.
anyone has idea how clear midi data on queued midi yoke or loopbe before program accept incoming data?
i'm having hard time understanding asking, sounds wanting flush input stream before start using it. if case, can use simple loop in program's start-up code (pseudo-code):
while input queue not empty: buffer = read_from_queue() // don't 'buffer' loop essentially, read little bit input queue , throw away, repeat until queue empty. can't give more detailed description without knowing more program.
Comments
Post a Comment