git ssb

0+

kode54 / syntrax-c



Commit 04d43dec7d76a8df1f162e2c44da218bc9362210

Oops, forgot to make it terminate after fading.

Christopher Snowhill authored on 1/2/2016, 8:20:47 AM
Christopher Snowhill committed on 6/13/2018, 12:10:58 AM
Parent: 614bc1851106f3875771611c9e3923d37453188b

Files changed

src/main_osx.cchanged
src/main_osx.cView
@@ -85,9 +85,9 @@
8585 int fade_start = 0, fade_length = SAMPLE_RATE * 10;
8686 int max_channels = 0;
8787 syntrax_info info;
8888 running = 1;
89- while ( running )
89+ while ( running && fade_start < fade_length )
9090 {
9191 mixChunk(player, sample_buffer, 2048);
9292 if (playerGetSongEnded(player)) break;
9393 if (playerGetLoopCount(player) >= 2)

Built with git-ssb-web