src/Audio/AudioManager.hpp

Namespaces

Name
Engine
This namespace contains all of the necessary engine components.
Engine::Audio

Classes

Name
class Engine::Audio::AudioManager
An audio manager that accepts multiple Audio::AudioBuffer instances.

Source code

#pragma once

#include "AudioBuffer.hpp"

namespace Engine {
    namespace Audio {
        class AudioManager final {
          public:
            AudioManager(int numOfChannels = 128);
            ~AudioManager();

            void enque(const AudioBuffer& buffer);
        };
    } // namespace Audio
} // namespace Engine

Updated on 2022-10-19 at 22:21:59 +0000