Sound Bakery 
v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
voice_tracker.h
1
#pragma once
2
3
#include "sound_bakery/pch.h"
4
5
namespace
sbk::engine
6
{
7
class
system;
8
9
namespace
profiling
10
{
14
class
SB_CLASS
voice_tracker
final
15
{
16
public
:
17
voice_tracker
() =
default
;
18
~voice_tracker
() =
default
;
19
20
public
:
21
void
update(
system
*
system
);
22
23
public
:
24
unsigned
int
getPlayingCountOfObject(sbk_id
id
)
const
;
25
26
private
:
27
std::unordered_set<sbk_id> m_playingNodeIDs;
28
std::unordered_map<sbk_id, unsigned int> m_nodePlayingCount;
29
};
30
}
// namespace profiling
31
}
// namespace sbk::engine
sbk::engine::profiling::voice_tracker
Tracks every active voice with helper functions.
Definition
voice_tracker.h:15
sbk::engine::system
Manager of the whole Sound Bakery.
Definition
system.h:44
src
sound_bakery
profiling
voice_tracker.h
Generated by
1.9.8