Post

Engine - Audio System Update 1

November 3, 2026

Current Implementation

This week I was able to get the Audio Engine up and running. The library is able to load and play audio files, and I was able to test it with a sine wave and a music file.

Programmer Interface

Below is the current interface with the Audio library.

1
2
3
4
5
6
7
8
9
10
11
namespace eae6320 {
namespace Audio {

cResult Initialize();
cResult CleanUp();

cResult TestSineWave();
cResult Load(const std::string& i_path);

} // namespace Audio
} // namespace eae6320

Next Steps

I really anticipated far more difficulty getting the Audio Engine up and running. So I imagine that I’ll be able to get to my stretch goals.

Stretch goals for this system include:

  • buses
  • 3D spatialization (audio listener and attenuation)
  • effects

This is the interface that I would like to have for the Audio Engine by next week.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
namespace eae6320 {
namespace Audio {

class cAudioEngine {
public:
    static cAudioEngine GetInstance();

private:
    cResult Initialize();
    cResult CleanUp();

    cAudioEngine();
    ~cAudioEngine();
}

class cAudioClip {
    static cResult Load(cAudioClip& o_clip, const std::string& i_path);
}

class cAudioPlayer {
    cAudioClip m_audioClip;

    void Play();
    void Stop();
}

} // namespace Audio
} // namespace eae6320