RioEngine  0.1
My first attempt to create a 3D WYSIWYG Game Engine
ik_ISoundMixedOutputReceiver.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2014 Nikolaus Gebhardt
2 // This file is part of the "irrKlang" library.
3 // For conditions of distribution and use, see copyright notice in irrKlang.h
4 
5 #ifndef __I_IRRKLANG_SOUND_MIXED_OUTPUT_RECEIVER_H_INCLUDED__
6 #define __I_IRRKLANG_SOUND_MIXED_OUTPUT_RECEIVER_H_INCLUDED__
7 
8 #include "ik_IRefCounted.h"
10 
11 
12 namespace irrklang
13 {
14 
15 
17 
21 {
22 public:
23 
26 
28 
37  virtual void OnAudioDataReady(const void* data, int byteCount, int playbackrate) = 0;
38 
39 };
40 
41 
42 } // end namespace irrklang
43 
44 
45 #endif
46 
virtual void OnAudioDataReady(const void *data, int byteCount, int playbackrate)=0
Called when a chunk of sound has been mixed and is about to be played.
Everything in the irrKlang Sound Engine can be found in this namespace.
Interface to be implemented by the user, which recieves the mixed output when it it played by the sou...