cAudio  2.3.0
3d Audio Engine
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 
7 namespace 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 };
virtual void onBeginCapture()=0
This function is called when the user begins capturing audio.
virtual void onUpdate()=0
This function is called when the capture manager update's its internal buffers.
virtual void onEndCapture()=0
This function is called when the user ends a capture operation.
Interface for recieving Capture Manager Events.
virtual void onUserRequestBuffer()=0
This function is called whe user requests data from the capture buffer.
virtual void onInit()=0
This function is called on capture device intialize.
Main namespace for the entire cAudio library.
Definition: cAudioCapture.h:15
virtual void onRelease()=0
This function is called on capture device shutdown.