From f3c5862140ad9969b18f87986f44223a9318325d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 1 May 2006 03:12:21 +0000 Subject: [PATCH] Added info on audio format endianness --- playmus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playmus.c b/playmus.c index bbd626538..fc46c6706 100644 --- a/playmus.c +++ b/playmus.c @@ -168,9 +168,10 @@ int main(int argc, char *argv[]) return(2); } else { Mix_QuerySpec(&audio_rate, &audio_format, &audio_channels); - printf("Opened audio at %d Hz %d bit %s, %d bytes audio buffer\n", audio_rate, + printf("Opened audio at %d Hz %d bit %s (%s), %d bytes audio buffer\n", audio_rate, (audio_format&0xFF), (audio_channels > 2) ? "surround" : (audio_channels > 1) ? "stereo" : "mono", + (audio_format&0x1000) ? "BE" : "LE", audio_buffers ); } audio_open = 1;