#include <ASoundBank.h>
Definition at line 8 of file ASoundBank.h.
◆ ASoundBank()
ASoundBank::ASoundBank |
( |
TINT | a_iNumSounds | ) |
|
|
inlineconstexpr |
Definition at line 14 of file ASoundBank.h.
15 : m_iNumSounds( a_iNumSounds ), m_pSoundsEx(
TNULL ), m_pSounds(
TNULL )
16 {}
◆ ~ASoundBank()
ASoundBank::~ASoundBank |
( |
| ) |
|
|
inline |
Definition at line 18 of file ASoundBank.h.
19 {
20 if ( m_pSoundsEx )
21 delete[] m_pSoundsEx;
22
23 if ( m_pSounds )
24 delete[] m_pSounds;
25 }
◆ Load()
void ASoundBank::Load |
( |
| ) |
|
|
inline |
Definition at line 27 of file ASoundBank.h.
28 {
29 for (
TINT i = 0; i < m_iNumSounds; i++ )
30 {
31 for (
TINT k = 0; k < m_pSoundsEx[ i ].GetSamples().Size(); k++ )
32 {
33 ASound::Sample& rSample = m_pSoundsEx[ i ].GetSamples()[ k ];
35 }
36 }
37 }
TINT GetWaveFrequency(TINT a_iWaveIndex)
◆ ASoundManager
The documentation for this class was generated from the following file:
- D:/_dev/OpenBarnyard/Source/OpenBarnyard/Source/Sound/ASoundBank.h