mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-16 12:08:52 +00:00
21 lines
379 B
C++
21 lines
379 B
C++
#pragma once
|
|
#include "Cafe/Filesystem/fsc.h"
|
|
|
|
class BootSoundReader
|
|
{
|
|
public:
|
|
BootSoundReader() = delete;
|
|
BootSoundReader(FSCVirtualFile* bootsndFile, sint32 blockSize);
|
|
|
|
sint16* getSamples();
|
|
|
|
private:
|
|
FSCVirtualFile* bootsndFile{};
|
|
sint32 blockSize{};
|
|
|
|
uint32be muteBits{};
|
|
uint32be loopPoint{};
|
|
std::vector<sint16> buffer{};
|
|
std::vector<sint16be> bufferBE{};
|
|
};
|