Overhaul to console structure, a bit

This commit is contained in:
iikorni
2026-08-30 00:50:23 -05:00
parent de75b014b3
commit 216dd1aecd
70 changed files with 2081 additions and 2260 deletions
+5 -5
View File
@@ -93,7 +93,7 @@ static bool S_OPUS_CodecOpenStream (snd_stream_t *stream)
opFile = op_open_callbacks(&stream->fh, &opc_qfs, NULL, 0, &res);
if (!opFile)
{
Con_Printf("%s is not a valid Opus file (error %i).\n",
console::info("%s is not a valid Opus file (error %i).\n",
stream->name, res);
goto _fail;
}
@@ -102,14 +102,14 @@ static bool S_OPUS_CodecOpenStream (snd_stream_t *stream)
if (!op_seekable(opFile))
{
Con_Printf("Opus stream %s not seekable.\n", stream->name);
console::info("Opus stream %s not seekable.\n", stream->name);
goto _fail;
}
op_info = op_head(opFile, -1);
if (!op_info)
{
Con_Printf("Unable to get stream information for %s.\n", stream->name);
console::info("Unable to get stream information for %s.\n", stream->name);
goto _fail;
}
@@ -117,14 +117,14 @@ static bool S_OPUS_CodecOpenStream (snd_stream_t *stream)
numstreams = op_info->stream_count;
if (numstreams != 1)
{
Con_Printf("More than one (%ld) stream in %s\n",
console::info("More than one (%ld) stream in %s\n",
(long)op_info->stream_count, stream->name);
goto _fail;
}
if (op_info->channel_count != 1 && op_info->channel_count != 2)
{
Con_Printf("Unsupported number of channels %d in %s\n",
console::info("Unsupported number of channels %d in %s\n",
op_info->channel_count, stream->name);
goto _fail;
}