aboutsummaryrefslogtreecommitdiffstats
path: root/examples/alstream.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-11-04 22:37:10 -0800
committerChris Robinson <[email protected]>2012-11-04 22:37:10 -0800
commit2b27d243cab87ce807d18f1b61a7ef1e9b40f1f1 (patch)
tree1b20c5b2c4ebb90119b45f2a4564c7ba8aadfeb0 /examples/alstream.c
parent2f07c46e20fa4bfe19996a94d7a45ef77aecff55 (diff)
Use stdout to print alstream information
Diffstat (limited to 'examples/alstream.c')
-rw-r--r--examples/alstream.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/alstream.c b/examples/alstream.c
index 4ed8299d..121cec00 100644
--- a/examples/alstream.c
+++ b/examples/alstream.c
@@ -318,9 +318,10 @@ int main(int argc, char **argv)
if(!OpenPlayerFile(player, argv[i]))
continue;
- fprintf(stderr, "Playing %s (%s, %s, %dhz)\n", argv[i],
- TypeName(player->type), ChannelsName(player->channels),
- player->rate);
+ printf("Playing %s (%s, %s, %dhz)\n", argv[i],
+ TypeName(player->type), ChannelsName(player->channels),
+ player->rate);
+ fflush(stdout);
if(!StartPlayer(player))
{
@@ -334,7 +335,7 @@ int main(int argc, char **argv)
/* All done with this file. Close it and go to the next */
ClosePlayerFile(player);
}
- fprintf(stderr, "Done.\n");
+ printf("Done.\n");
/* All files done. Delete the player, and close OpenAL */
DeletePlayer(player);