📄 cwavloader.h
字号:
/*
*
============================================================================
* Name : CWavLoader.h
* Part of : SoundMixer
* Created : 03/01/2003 by Forum Nokia
* Description:
* This is the project specification file for SoundMixer.
* Initial content was generated by Series 60 AppWizard.
*
* Version : 1.0.0
* Copyright: Forum Nokia
*
============================================================================
*/
#ifndef __CWAVLOADER_H__
#define __CWAVLOADER_H__
// INCLUDES
#include <e32base.h>
#include "TSample.h"
// CLASS DECLARATION
/**
* CWavLoader loads raw ( only sample data ) wav files
* which is 8-bit mono.
*
* Example:
*
* CWavLoader* loader = CWavLoader::NewLC();
* iSample = loader->LoadL( _L("sample.wav") );
* CleanupStack::PopAndDestroy( loader );
*/
class CWavLoader
: public CBase
{
public:
/// Two phased constructor
static CWavLoader* NewL();
static CWavLoader* NewLC();
/// Default destructor
~CWavLoader();
private:
/// Default constructor
CWavLoader();
/// second phase constructor
void ConstructL();
public:
/// Loads wav file and creates sample from it.
/// Leaves on any error.
/// @param aFileName file name with path
/// @return pointer to constructed sample
TSample LoadL( const TFileName& aFileName );
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -