- Streaming: StreamingManager, Manifests, Storage (.part files, write queue), Transport (HTTP split download, throttle), Tracker/StartupReport, streaming filestack verbs (s_streamstack, StreamingOpen), RepairCache static - URL: HttpRequest, InternetCallback, ReadResponseData, DownloadURL - Mopaq write path: SFileCreateArchive/CreateFile/WriteFile, IOMpqWriteUnit, WriteArchiveChanges, RebuildHashTable, listfile acquire/release; SComp::Compress with RLE/zlib/bzip2/pkware compressors; MPQEncrypt::Encrypt - LaunchChildProcessWithArguments, Debug::DefaultCallback/Breakpoint - Earlier batches: ComSat, Battlenet Tumor, Glue/Ui/WowServices fixes, luaL_error returns in Script_ files Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
20 lines
397 B
C++
20 lines
397 B
C++
#ifndef ENGINE_SOURCE_COMSAT_COMSATSOUNDLEVELCALCULATOR_H
|
|
#define ENGINE_SOURCE_COMSAT_COMSATSOUNDLEVELCALCULATOR_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
namespace ComSat {
|
|
namespace Sound {
|
|
|
|
class LevelCalculator16Bit {
|
|
public:
|
|
static void CalculateLevelForFrame(const uint8_t* data, uint32_t size, float& level, float& decibels);
|
|
static float GetMaxDecibelLevel();
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
#endif
|