Stop playing wav at end of data segment