git ssb

0+

kode54 / syntrax-c



Commit 5711f0831d57c7909eebb5688ebf29fbc0ff8dc6

Bug fixes

Christopher Snowhill authored on 1/2/2016, 6:27:47 AM
Christopher Snowhill committed on 6/13/2018, 12:10:58 AM
Parent: 67c5392a407870560423583fdf0d03728824ff12

Files changed

src/syntrax/syntrax.cchanged
src/syntrax/syntrax.cView
@@ -4,9 +4,9 @@
44
55 #include "syntrax.h"
66 #include "file.h"
77
8-void reset(Player *p)
8+static void reset(Player *p)
99 {
1010 int i, j;
1111
1212 if (p->delayBufferL && p->delayBufferR){
@@ -1720,11 +1720,8 @@
17201720 uint dword_6632774C = 0;
17211721
17221722 if ( p->channelNumber > 0 )
17231723 {
1724- if ( playbackBufferSize & 1) playbackBufferSize--;
1725- if ( playbackBufferSize <= 0 ) return;
1726-
17271724 while ( playbackBufferSize > 0 )
17281725 {
17291726 if ( p->otherSamplesPerBeat >= playbackBufferSize )
17301727 {
@@ -2045,10 +2042,8 @@
20452042 }
20462043 }
20472044 return;
20482045 }
2049- if ( playbackBufferSize <= 0 ) return;
2050- //blank write to playback buffer
20512046 memset(outBuff, 0, playbackBufferSize * 2 *2);
20522047 }
20532048
20542049 /*void newSong(void)

Built with git-ssb-web