push changes

This commit is contained in:
liuk7071 2023-07-15 16:19:55 +02:00
parent 6e8b4cc06f
commit 75731c2812
2 changed files with 4 additions and 4 deletions

View file

@ -5,12 +5,12 @@ Collapsed=0
[Window][Image]
Pos=-1,20
Size=1917,999
Size=1922,999
Collapsed=0
DockId=0x0000000F,0
[Window][System Settings]
Pos=223,224
Pos=517,260
Size=339,181
Collapsed=0
@ -79,7 +79,7 @@ Collapsed=0
DockId=0x0000000D,0
[Docking][Data]
DockNode ID=0x00000001 Pos=-1,20 Size=1917,999 Split=Y
DockNode ID=0x00000001 Pos=-1,20 Size=1922,999 Split=Y
DockNode ID=0x00000003 Parent=0x00000001 SizeRef=1915,638 Split=X Selected=0x7159B0CC
DockNode ID=0x0000000F Parent=0x00000003 SizeRef=846,634 HiddenTabBar=1 Selected=0x1EB64C52
DockNode ID=0x00000010 Parent=0x00000003 SizeRef=1067,634 Selected=0x7159B0CC

View file

@ -70,7 +70,7 @@ auto voice::step() {
// Pitch counter
auto old = pitch_counter >> 12;
if (pitch > 0x3FFF) pitch = 0x4000;
if (pitch > 0x3fff) pitch = 0x4000;
pitch_counter += pitch;
if ((pitch_counter >> 12) > old)
samples.pop();