Commit 04d43dec7d76a8df1f162e2c44da218bc9362210
Oops, forgot to make it terminate after fading.
Christopher Snowhill authored on 1/2/2016, 8:20:47 AMChristopher Snowhill committed on 6/13/2018, 12:10:58 AM
Parent: 614bc1851106f3875771611c9e3923d37453188b
Files changed
src/main_osx.c | changed |
src/main_osx.c | ||
---|---|---|
@@ -85,9 +85,9 @@ | ||
85 | 85 | int fade_start = 0, fade_length = SAMPLE_RATE * 10; |
86 | 86 | int max_channels = 0; |
87 | 87 | syntrax_info info; |
88 | 88 | running = 1; |
89 | - while ( running ) | |
89 | + while ( running && fade_start < fade_length ) | |
90 | 90 | { |
91 | 91 | mixChunk(player, sample_buffer, 2048); |
92 | 92 | if (playerGetSongEnded(player)) break; |
93 | 93 | if (playerGetLoopCount(player) >= 2) |
Built with git-ssb-web