Skip to content

Commit

Permalink
Make s_info command display channels instead of stereo
Browse files Browse the repository at this point in the history
channels-1 was displayed as '# stereo', affectively a boolean for
mono or stereo. However '3 stereo' for quad surround sound doesn't
make sense.
  • Loading branch information
zturtleman committed Oct 2, 2018
1 parent 58b0fb0 commit 0cf10d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/client/snd_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void S_Base_SoundInfo(void) {
if (!s_soundStarted) {
Com_Printf ("sound system not started\n");
} else {
Com_Printf("%5d stereo\n", dma.channels - 1);
Com_Printf("%5d channels\n", dma.channels);
Com_Printf("%5d samples\n", dma.samples);
Com_Printf("%5d samplebits (%s)\n", dma.samplebits, dma.isfloat ? "float" : "int");
Com_Printf("%5d submission_chunk\n", dma.submission_chunk);
Expand Down

0 comments on commit 0cf10d2

Please sign in to comment.