载入中...
搜索中...
未找到
SoundData.cpp
浏览该文件的文档.
11 : Resource(""), pcm(std::move(pcm)), sampleRate(sampleRate), bitDepth(bitDepth), channels(channels) {
Definition Exception.h:14
Resource is a game object that is managed by the ResourceManager. It can be loaded from a file or gen...
Definition Resource.h:35
Raw PCM audio buffer with format metadata (samples/rate/bit depth/channels).
Definition SoundData.h:13
~SoundData() override
void adopt(eve::Resource &replacement) override
Replace this buffer with replacement's (cache reload).
Definition SoundData.cpp:22
SoundData(std::vector< uint8_t > pcm, int sampleRate, int bitDepth, int channels)
Takes ownership of the PCM bytes.
Definition SoundData.cpp:10
Definition Build.cpp:11