Skip to content

Commit

Permalink
Added info on audio format endianness
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 1, 2006
1 parent fed9d76 commit f3c5862
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion playmus.c
Expand Up @@ -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;
Expand Down

0 comments on commit f3c5862

Please sign in to comment.