📄 maudiosource.h
字号:
/*
============================================================================
* Name : MAudioSource.h
* Part of : 2DExample
* Description : Definition of MAudioSource
* Copyright (c) 2007 Nokia Corporation
============================================================================
*/
#ifndef __MAUDIOSOURCE_H__
#define __MAUDIOSOURCE_H__
// INCLUDE FILES
#include <e32std.h>
// 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -