WwiseAudioTools
Tools for working with Wwise file types
Loading...
Searching...
No Matches
wwtools Namespace Reference

parent namespace for specific file type helper functions More...

Classes

struct  BnkEntry
 Information about a WEM referenced by a BNK soundbank. More...
 

Functions

std::string Wem2Ogg (std::string_view indata)
 get OGG file data from WEM file data
 
std::vector< BnkEntryBnkExtract (std::string_view indata)
 extract all WEMs from a BNK soundbank with their IDs and streaming status
 

Detailed Description

parent namespace for specific file type helper functions

Function Documentation

◆ BnkExtract()

std::vector< BnkEntry > wwtools::BnkExtract ( std::string_view  indata)

extract all WEMs from a BNK soundbank with their IDs and streaming status

For embedded WEMs, data contains the full WEM audio. For streamed WEMs, data contains only the prefetch stub; the caller must load the full audio from an external <id>.wem file.

Parameters
indataBNK file data
Returns
vector of BnkWem structs

◆ Wem2Ogg()

std::string wwtools::Wem2Ogg ( std::string_view  indata)

get OGG file data from WEM file data

Parameters
indataWEM file data
Returns
OGG file data
Exceptions
std::exceptionon conversion failure