Fixing assert due to failure of src_process
authorBill Lash <william.lash@gmail.com>
Fri, 28 Jun 2019 03:35:46 +0000 (22:35 -0500)
committerDavid Griffith <dave@661.org>
Sat, 29 Jun 2019 00:37:07 +0000 (17:37 -0700)
commit2f9322dfc63a86b3affb9b77ab4c06b46aa7ce2e
treeb77300bb48c89adfa88f348f4ece0ead1f94f6ad
parent149262d921751df276606e5db18ee7f78d69fa40
Fixing assert due to failure of src_process

Based on discussion with @borg323 src_process was leaving the
input data pointer at an old value if it ran out of input data and
completed the output buffer in the same call.  Fixed it by setting
the input data pointer back to the beginning, but since the number
of input frames was set to 0, it wouldn't read any data from it.
src/curses/ux_audio.c