git ssb

0+

kode54 / syntrax-c



Commit a55afe6b30b1ab7842f30d79736858939c92f6a9

Fix printing of info strings before playback.

Christopher Snowhill authored on 1/12/2016, 8:31:24 AM
Christopher Snowhill committed on 6/13/2018, 12:10:58 AM
Parent: c6fad4c1215e5d4aa5373378ebce8084ab14fb0b

Files changed

src/main_osx.cppchanged
src/main_osx.cppView
@@ -90,11 +90,11 @@
9090
9191 initSubsong(player, 0);
9292
9393 playerGetInfo(player, &info);
94- printf("Syntrax test player v0.0001 || %i/%i\n", info.selectedSubs+1, info.totalSubs);
95- printf("Title: %s\n", info.subsongName);
96- printf("\ro: %3u - r: %2u - c: %2u (%2u)", info.coarse, info.fine, info.channelsPlaying, info.channelsPlaying > max_channels ? max_channels = info.channelsPlaying : max_channels);
94+ fprintf(stderr, "Syntrax test player v0.0001 || %i/%i\n", info.selectedSubs+1, info.totalSubs);
95+ fprintf(stderr, "Title: %s\n", info.subsongName);
96+ fprintf(stderr, "\ro: %3u - r: %2u - c: %2u (%2u)", info.coarse, info.fine, info.channelsPlaying, info.channelsPlaying > max_channels ? max_channels = info.channelsPlaying : max_channels);
9797
9898 signal(SIGINT, signal_handler);
9999
100100 output = new CoreAudioStream(render, 0, SAMPLE_RATE);

Built with git-ssb-web