Partial fix of #120. Subsequent hoofbeats block until another key is pressed.
authorDavid Griffith <dave@661.org>
Tue, 18 Jun 2019 07:37:21 +0000 (00:37 -0700)
committerDavid Griffith <dave@661.org>
Tue, 18 Jun 2019 07:37:21 +0000 (00:37 -0700)
commit5a71c2486c4f69c1befb15db6f991854ea50c404
treef148358a9a70e1cf576d238d64720dc7f0f952f1
parentd9d0f39ec05ab46c1321fc4d079fd0decc60db3d
Partial fix of #120. Subsequent hoofbeats block until another key is pressed.

end_of_sound() must be called at the end of every sound played so that
the next sound can be played.  Otherwise only one sound is played per
turn. os_tick() seems to be the correct place for end_of_sound() to be
called, but I'm not sure about the sem_post(&sound_done) call.  Why does
process_engine() block until the next key is pressed?
src/curses/ux_audio.c
src/curses/ux_input.c