1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-23 20:29:42 +00:00

Fixed sound pitch, though I'm not yet exactly sure why.

This commit is contained in:
Thomas Harte 2016-03-14 22:52:16 -04:00
parent 9a492ac15f
commit 0edf165401

View File

@ -802,7 +802,7 @@ void Speaker::skip_samples(unsigned int number_of_samples)
while(number_of_samples--)
{
_counter ++;
if(_counter > _divider)
if(_counter > _divider*2)
{
_counter = 0;
_output_level ^= 8192;