WwiseAudioTools
Tools for working with Wwise file types
Loading...
Searching...
No Matches
wwtools.h
Go to the documentation of this file.
1#pragma once
2
14#include <cstdint>
15#include <string>
16#include <string_view>
17#include <vector>
18
24namespace wwtools
25{
26
31{
32 std::uint32_t id;
33 bool streamed;
34 std::string data;
35};
36
44[[nodiscard]] std::string Wem2Ogg(std::string_view indata);
45
56[[nodiscard]] std::vector<BnkEntry> BnkExtract(std::string_view indata);
57
58} // namespace wwtools
parent namespace for specific file type helper functions
std::string Wem2Ogg(std::string_view indata)
get OGG file data from WEM file data
std::vector< BnkEntry > BnkExtract(std::string_view indata)
extract all WEMs from a BNK soundbank with their IDs and streaming status
Information about a WEM referenced by a BNK soundbank.
Definition wwtools.h:31
std::string data
Embedded WEM data (full file if !streamed, prefetch stub if streamed)
Definition wwtools.h:34
bool streamed
true if the WEM is streamed (external .wem file needed)
Definition wwtools.h:33
std::uint32_t id
WEM ID.
Definition wwtools.h:32