36 m_levelMap[channel] = level;
41 if(m_levelMap.count(channel))
42 return m_levelMap.at(channel);
52 for(
unsigned long i=1; i<=count; i++)
54 if (!m_levelMap.count(i))
61 return static_cast<unsigned long>(m_levelMap.size());
@ Level
Peak/RMS/hold level metering data.
void SetLevel(unsigned long channel, LevelVal level)
void SetChannelCount(unsigned long count) override
Sets the number of audio channels this data object covers.
LevelVal GetLevel(unsigned long channel)
unsigned long GetChannelCount() override
Returns the number of audio channels this data object covers.
Per-channel level values in both linear and dB domains.