mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Fixed sound pitch, though I'm not yet exactly sure why.
This commit is contained in:
parent
9a492ac15f
commit
0edf165401
@ -802,7 +802,7 @@ void Speaker::skip_samples(unsigned int number_of_samples)
|
|||||||
while(number_of_samples--)
|
while(number_of_samples--)
|
||||||
{
|
{
|
||||||
_counter ++;
|
_counter ++;
|
||||||
if(_counter > _divider)
|
if(_counter > _divider*2)
|
||||||
{
|
{
|
||||||
_counter = 0;
|
_counter = 0;
|
||||||
_output_level ^= 8192;
|
_output_level ^= 8192;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user