Fix missing audio reset.

This commit is contained in:
Christian Speckner 2018-05-16 13:09:29 +02:00
parent adbde4e4db
commit 639b6af1e9
1 changed files with 2 additions and 0 deletions

View File

@ -164,6 +164,8 @@ void TIA::reset()
myInput0.reset(); myInput0.reset();
myInput1.reset(); myInput1.reset();
myAudio.reset();
myTimestamp = 0; myTimestamp = 0;
for (PaddleReader& paddleReader : myPaddleReaders) for (PaddleReader& paddleReader : myPaddleReaders)
paddleReader.reset(myTimestamp); paddleReader.reset(myTimestamp);