#include <WAV.h>
|
| enum | ChunkType : uint32_t {
CHUNK_FMT = sourcepp::parser::binary::makeFourCC("fmt ")
, CHUNK_DATA = sourcepp::parser::binary::makeFourCC("data")
, CHUNK_CUE = sourcepp::parser::binary::makeFourCC("cue ")
, CHUNK_PLST = sourcepp::parser::binary::makeFourCC("plst")
,
CHUNK_FACT = sourcepp::parser::binary::makeFourCC("fact")
, CHUNK_SMPL = sourcepp::parser::binary::makeFourCC("smpl")
, CHUNK_INST = sourcepp::parser::binary::makeFourCC("inst")
, CHUNK_CSET = sourcepp::parser::binary::makeFourCC("CSET")
,
CHUNK_MD5 = sourcepp::parser::binary::makeFourCC("MD5 ")
, CHUNK_PAD = sourcepp::parser::binary::makeFourCC("PAD ")
, CHUNK_JUNK = sourcepp::parser::binary::makeFourCC("JUNK")
, CHUNK_FLLR = sourcepp::parser::binary::makeFourCC("FLLR")
} |
|
| uint32_t | signature |
| uint32_t | type |
| std::vector< std::pair< uint32_t, std::span< std::byte > > > | chunks |
| std::vector< std::byte > | data |
Definition at line 14 of file WAV.h.
◆ ChunkType
| Enumerator |
|---|
| CHUNK_FMT | |
| CHUNK_DATA | |
| CHUNK_CUE | |
| CHUNK_PLST | |
| CHUNK_FACT | |
| CHUNK_SMPL | |
| CHUNK_INST | |
| CHUNK_CSET | |
| CHUNK_MD5 | |
| CHUNK_PAD | |
| CHUNK_JUNK | |
| CHUNK_FLLR | |
Definition at line 16 of file WAV.h.
◆ WAV() [1/4]
◆ WAV() [2/4]
| WAV::WAV |
( |
std::vector< std::byte > && | wavData | ) |
|
|
explicit |
◆ WAV() [3/4]
| WAV::WAV |
( |
std::span< const std::byte > | wavData | ) |
|
|
explicit |
◆ WAV() [4/4]
| WAV::WAV |
( |
const std::filesystem::path & | wavPath | ) |
|
|
explicit |
◆ getFirstWAVChunk()
| auto sndpp::WAV::getFirstWAVChunk |
( |
| ) |
const |
|
inlinenodiscard |
◆ getNthWAVChunk()
| auto sndpp::WAV::getNthWAVChunk |
( |
uint32_t | n | ) |
const |
|
inlinenodiscard |
The documentation for this class was generated from the following files: