summaryrefslogtreecommitdiff
path: root/source/snd_oss.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-04-23 15:02:41 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-04-23 15:02:41 +0000
commit49e6170b49fbb933eddec6d0e3f946320c68832f (patch)
tree88d228d6f89103710074fdba041ce80584d5caa6 /source/snd_oss.c
parent8c795585fb0c6c9178d9981f6943da04b7279205 (diff)
Added `dumpents' server command.
Added support for `cl_noskins' value of 2 (default all female skins to `female/athena', all male skins to `male/grunt'). Renamed `scoreshot' command to `aashot', added `aadump' command. Fixed several alignment issues on ARM architecture. Server browser menu now indicates full and password protected servers with color codes. Implemented history search in console with Ctrl+R, Ctrl+S. Removed `cl_railtrail_alpha' variable, all `cl_rail*_color' variables now accept colors in #RRGGBBAA format. Added `map_override' cvar (enables loading map entity lump from external maps/*.ent file). Made `quit' command accept extra arguments. Made `draw' command accept arbitrary colors in #RRGGBBAA format. Fixed debian packages.
Diffstat (limited to 'source/snd_oss.c')
-rw-r--r--source/snd_oss.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/snd_oss.c b/source/snd_oss.c
index 182cb38..10b092f 100644
--- a/source/snd_oss.c
+++ b/source/snd_oss.c
@@ -106,7 +106,7 @@ static sndinitstat_t OSS_Init ( void ) {
break;
}
if ( i == sizeof ( tryrates ) / 4 ) {
- Com_WPrintf ( "%s supports no valid bitrates", snddevice->string );
+ Com_WPrintf ( "%s supports no valid bitrates\n", snddevice->string );
goto fail;
}
dma.speed = tryrates[i];
@@ -121,7 +121,7 @@ static sndinitstat_t OSS_Init ( void ) {
tmp = 1;
rc = ioctl ( audio_fd, SNDCTL_DSP_STEREO, &tmp );
if ( rc < 0 ) {
- Com_WPrintf ( "Could not set %s to %d channels: %s", snddevice->string,
+ Com_WPrintf ( "Could not set %s to %d channels: %s\n", snddevice->string,
dma.channels, strerror ( errno ) );
goto fail;
}
@@ -132,7 +132,7 @@ static sndinitstat_t OSS_Init ( void ) {
rc = ioctl ( audio_fd, SNDCTL_DSP_SPEED, &dma.speed );
if ( rc < 0 ) {
- Com_WPrintf ( "Could not set %s speed to %d: %s", snddevice->string,
+ Com_WPrintf ( "Could not set %s speed to %d: %s\n", snddevice->string,
dma.speed, strerror ( errno ) );
goto fail;
}
@@ -152,7 +152,7 @@ static sndinitstat_t OSS_Init ( void ) {
goto fail;
}
} else {
- Com_WPrintf ( "%d-bit sound not supported.", dma.samplebits );
+ Com_WPrintf ( "%d-bit sound not supported.\n", dma.samplebits );
goto fail;
}