cAudio 2.3.0
3d Audio Engine
Loading...
Searching...
No Matches
IManagerEventHandler.h
1// Copyright (c) 2008-2011 Raynaldo (Wildicv) Rivera, Joshua (Dark_Kilauea) Jones, Murat (wolfmanfx) Sari
2// This file is part of the "cAudio Engine"
3// For conditions of distribution and use, see copyright notice in cAudio.h
4
5#pragma once
6
7namespace cAudio
8{
11 {
12 public:
14 virtual void onInit() = 0;
15
17 virtual void onUpdate() = 0;
18
20 virtual void onRelease() = 0;
21
23 virtual void onSourceCreate() = 0;
24
26 virtual void onDecoderRegister() = 0;
27
29 virtual void onDataSourceRegister() = 0;
30
31 virtual ~IManagerEventHandler(){}
32 };
33};
34
Interface for event handlers for playback manager events.
virtual void onSourceCreate()=0
This function is called on when an audio source is created.
virtual void onRelease()=0
This function is called on manager shutdown.
virtual void onDecoderRegister()=0
This function is called when an audio decoder is registered.
virtual void onInit()=0
This function is called on manager initialization.
virtual void onUpdate()=0
This function is called on every manager update.
virtual void onDataSourceRegister()=0
This function is called when a data source is registered.
Main namespace for the entire cAudio library.
Definition: cAudioCapture.h:16