group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
AudioRuntime.hpp File Reference

Wwise-like data-driven audio runtime definitions and resolver. More...

#include "AudioMath.hpp"
#include "SfxTypes.hpp"
#include <cstdint>
#include <glm/glm.hpp>
#include <optional>
#include <random>
#include <span>
#include <string>
#include <string_view>
#include <unordered_map>
#include <vector>
Include dependency graph for AudioRuntime.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  audio::AudioEventId
struct  audio::AudioNodeId
struct  audio::AudioClipId
struct  audio::AudioBusId
struct  audio::RtpcId
struct  audio::SwitchGroupId
struct  audio::SwitchValueId
struct  audio::StateGroupId
struct  audio::StateValueId
struct  audio::AudioObjectId
struct  audio::AudioBusDef
struct  audio::AudioClipDef
struct  audio::AudioNodeChild
struct  audio::AudioNodeDef
struct  audio::AudioAction
struct  audio::AudioEventDef
struct  audio::AudioCommand
struct  audio::AudioObjectState
struct  audio::AudioRuntimeStats
class  audio::AudioManifest
class  audio::AudioRuntime
struct  std::hash< audio::AudioEventId >
struct  std::hash< audio::AudioObjectId >

Namespaces

namespace  audio
namespace  std

Typedefs

using audio::StableId = std::uint32_t

Enumerations

enum class  audio::AudioNodeType : std::uint8_t {
  audio::Sound , audio::Random , audio::Sequence , audio::Switch ,
  audio::Blend
}
enum class  audio::AudioActionType : std::uint8_t {
  audio::Play , audio::Stop , audio::SetRtpc , audio::SetSwitch ,
  audio::SetState , audio::SetBusVolume
}
enum class  audio::AudioCommandType : std::uint8_t { audio::Play , audio::StopClip }

Functions

constexpr StableId audio::stableHash (std::string_view text) noexcept
AudioEventId audio::eventId (std::string_view name) noexcept
AudioNodeId audio::nodeId (std::string_view name) noexcept
AudioClipId audio::clipId (std::string_view name) noexcept
AudioBusId audio::busId (std::string_view name) noexcept
RtpcId audio::rtpcId (std::string_view name) noexcept
SwitchGroupId audio::switchGroupId (std::string_view name) noexcept
SwitchValueId audio::switchValueId (std::string_view name) noexcept
StateGroupId audio::stateGroupId (std::string_view name) noexcept
StateValueId audio::stateValueId (std::string_view name) noexcept
AudioObjectId audio::objectId (std::string_view name) noexcept

Variables

constexpr AudioObjectId audio::kGlobalObject {0}
constexpr AudioBusId audio::kInvalidBus {0}

Detailed Description

Wwise-like data-driven audio runtime definitions and resolver.