CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
ALListener.hpp
Go to the documentation of this file.
1//
2// CeresEngine - A game development framework
3//
4// Created by Rogiel Sulzbach.
5// Copyright (c) 2018-2022 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
10#include "ALLoader.hpp"
11
13
14namespace CeresEngine {
15
16 class ALDevice;
17
18 class ALListener final : public AudioAPIListener {
19 public:
20 explicit ALListener(ALDevice& device, const AudioAPIListenerDescriptor& descriptor);
21 ~ALListener() final;
22
23 public:
25 void update(const AudioAPIListenerDescriptor& descriptor) final;
26 };
27
28} // namespace CeresEngine
Definition ALDevice.hpp:18
Definition ALListener.hpp:18
ALListener(ALDevice &device, const AudioAPIListenerDescriptor &descriptor)
void update(const AudioAPIListenerDescriptor &descriptor) final
A listener is a entity that represents the location, direction and velocity of a object (generally th...
Definition Listener.hpp:37
Definition Application.hpp:19
A descriptor structure that describes the creation of an audio listener.
Definition Listener.hpp:19