mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-25 20:55:17 +00:00
40 lines
No EOL
1.1 KiB
C++
40 lines
No EOL
1.1 KiB
C++
/**
|
|
* @file SoundArchivePlayer.h
|
|
* @brief Basic sound player from a sound archive.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "detail/AdvancedWaveSoundRuntime.h"
|
|
#include "detail/SequenceSoundRuntime.h"
|
|
#include "detail/SoundArchiveManager.h"
|
|
#include "detail/StreamSoundRuntime.h"
|
|
#include "detail/WaveSoundRuntime.h"
|
|
|
|
namespace nn
|
|
{
|
|
namespace atk
|
|
{
|
|
class SoundArchivePlayer
|
|
{
|
|
public:
|
|
SoundArchivePlayer();
|
|
|
|
virtual ~SoundArchivePlayer();
|
|
|
|
bool IsAvailable() const;
|
|
void Finalize();
|
|
void StopAllSound(s32, bool);
|
|
void DisposeInstances();
|
|
|
|
nn::atk::detail::SoundArchiveManager mArchiveManager; // _8
|
|
nn::atk::detail::SequenceSoundRuntime mSeqSoundRuntime; // _50
|
|
nn::atk::detail::WaveSoundRuntime mWaveSoundRuntime; // _130
|
|
nn::atk::detail::AdvancedWaveSoundRuntime mAdvancedWaveSound; // _1B0
|
|
nn::atk::detail::StreamSoundRuntime mStreamSoundRuntime; // _1E0
|
|
u64 _290;
|
|
u32 _298;
|
|
u8 _29C[0x2E8-0x29C];
|
|
};
|
|
};
|
|
}; |