www.pudn.com > Example2D.rar > MAudioSource.h
/////////////////////////////////////////////////////////////////////////////// // // MAudioSource.h // // Copyright (c) 2003 Forum Nokia. All rights reserved. // // Technology developed by Rocket Science Oy Ltd // /////////////////////////////////////////////////////////////////////////////// #ifndef __MAUDIOSOURCE_H__ #define __MAUDIOSOURCE_H__ // INCLUDE FILES #include// CLASS DECLARATION /* * Interface for audio source */ class MAudioSource { public: /** * Virtual destructor */ virtual ~MAudioSource() {}; /** * Function for audio source to fill buffer data * @param aBuffer pointer to audio buffer * @param aLength audio buffer length */ virtual void FillAudio( TInt16* aBuffer, TInt aLength ) = 0; }; #endif // End of file