cAudio 2.3.0
3d Audio Engine
Loading...
Searching...
No Matches
ICaptureEventHandler.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
13 public:
15 virtual void onInit() = 0;
16
18 virtual void onUpdate() = 0;
19
21 virtual void onRelease() = 0;
22
24 virtual void onBeginCapture() = 0;
25
27 virtual void onEndCapture() = 0;
28
30 virtual void onUserRequestBuffer() = 0;
31
32 virtual ~ICaptureEventHandler(){}
33 };
34};
Interface for recieving Capture Manager Events.
virtual void onInit()=0
This function is called on capture device intialize.
virtual void onUserRequestBuffer()=0
This function is called whe user requests data from the capture buffer.
virtual void onRelease()=0
This function is called on capture device shutdown.
virtual void onBeginCapture()=0
This function is called when the user begins capturing audio.
virtual void onEndCapture()=0
This function is called when the user ends a capture operation.
virtual void onUpdate()=0
This function is called when the capture manager update's its internal buffers.
Main namespace for the entire cAudio library.
Definition: cAudioCapture.h:16