NcEngine
NcAudio.h File Reference
#include "ncengine/audio/AudioSource.h"
#include "ncengine/ecs/EcsFwd.h"
#include "ncengine/ecs/Entity.h"
#include "ncengine/module/Module.h"
#include "ncengine/type/EngineId.h"
#include "ncengine/utility/Signal.h"
#include <limits>

Go to the source code of this file.

Classes

struct  nc::AudioDevice
 The name and device id of an available audio device. More...
 
struct  nc::NcAudio
 Audio module interface. More...
 

Functions

auto nc::BuildAudioModule (const config::AudioSettings &settings, ecs::ExplicitEcs< Entity, Transform, AudioSource > gameState) -> std::unique_ptr< NcAudio >
 Build an NcAudio module instance.
 

Variables

constexpr auto nc::DefaultAudioDeviceId = std::numeric_limits<uint32_t>::max()
 Id representing a system's default audio device.
 
constexpr auto nc::InvalidAudioDeviceId = DefaultAudioDeviceId - 1u
 Id representing a null audio device.
 

Detailed Description