Commit a55afe6b30b1ab7842f30d79736858939c92f6a9
Fix printing of info strings before playback.
Christopher Snowhill authored on 1/12/2016, 8:31:24 AMChristopher Snowhill committed on 6/13/2018, 12:10:58 AM
Parent: c6fad4c1215e5d4aa5373378ebce8084ab14fb0b
Files changed
src/main_osx.cpp | changed |
src/main_osx.cpp | ||
---|---|---|
@@ -90,11 +90,11 @@ | ||
90 | 90 | |
91 | 91 | initSubsong(player, 0); |
92 | 92 | |
93 | 93 | 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); | |
97 | 97 | |
98 | 98 | signal(SIGINT, signal_handler); |
99 | 99 | |
100 | 100 | output = new CoreAudioStream(render, 0, SAMPLE_RATE); |
Built with git-ssb-web