📄 nctwavplayer.h
字号:
#if !defined(AFX_NCTWAVPLAYER_H__A7B0CA03_2B32_4CF2_A04B_96430A95CF00__INCLUDED_)
#define AFX_NCTWAVPLAYER_H__A7B0CA03_2B32_4CF2_A04B_96430A95CF00__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
/////////////////////////////////////////////////////////////////////////////
// CNCTWavPlayer wrapper class
class CNCTWavPlayer : public CWnd
{
protected:
DECLARE_DYNCREATE(CNCTWavPlayer)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0xcdde893b, 0x1457, 0x11d3, { 0x99, 0x6a, 0x8, 0x0, 0x35, 0x0, 0x8, 0x42 } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
// Attributes
public:
long GetWFormatTag();
void SetWFormatTag(long);
long GetNChannels();
void SetNChannels(long);
long GetNSamplesPerSec();
void SetNSamplesPerSec(long);
long GetNAvgBytesPerSec();
void SetNAvgBytesPerSec(long);
long GetNBlockAlign();
void SetNBlockAlign(long);
long GetWBitsPerSample();
void SetWBitsPerSample(long);
long GetNSamples();
void SetNSamples(long);
long GetStereoChannel();
void SetStereoChannel(long);
BOOL GetVisibleGridX();
void SetVisibleGridX(BOOL);
BOOL GetVisibleGridY();
void SetVisibleGridY(BOOL);
long GetValue();
void SetValue(long);
long GetStartPos();
void SetStartPos(long);
long GetEndPos();
void SetEndPos(long);
BOOL GetSelected();
void SetSelected(BOOL);
long GetStartShowPos();
void SetStartShowPos(long);
long GetEndShowPos();
void SetEndShowPos(long);
long GetRightScaleType();
void SetRightScaleType(long);
long GetBottomScaleType();
void SetBottomScaleType(long);
BOOL GetVisibleRightScale();
void SetVisibleRightScale(BOOL);
BOOL GetVisibleBottomScale();
void SetVisibleBottomScale(BOOL);
BOOL GetUndoEnable();
void SetUndoEnable(BOOL);
BOOL GetRedoEnable();
void SetRedoEnable(BOOL);
long GetPlayPos();
void SetPlayPos(long);
BOOL GetAutoGainControl();
void SetAutoGainControl(BOOL);
OLE_HANDLE GetHWnd();
void SetHWnd(OLE_HANDLE);
CString GetTempDirectory();
void SetTempDirectory(LPCTSTR);
long GetTotalAvailableFreeSpace();
void SetTotalAvailableFreeSpace(long);
BOOL GetClearClipboardBeforeExit();
void SetClearClipboardBeforeExit(BOOL);
long GetUndoRedoCount();
void SetUndoRedoCount(long);
unsigned long GetClrAnalogWaveform();
void SetClrAnalogWaveform(unsigned long);
unsigned long GetClrBackground();
void SetClrBackground(unsigned long);
unsigned long GetClrCenterLine();
void SetClrCenterLine(unsigned long);
unsigned long GetClrCursor();
void SetClrCursor(unsigned long);
unsigned long GetClrDigitalWaveform();
void SetClrDigitalWaveform(unsigned long);
unsigned long GetClrGrid();
void SetClrGrid(unsigned long);
unsigned long GetClrPlayCursor();
void SetClrPlayCursor(unsigned long);
unsigned long GetClrSelectedAnalogWaveform();
void SetClrSelectedAnalogWaveform(unsigned long);
unsigned long GetClrSelectedBackground();
void SetClrSelectedBackground(unsigned long);
unsigned long GetClrSelectedCenterLine();
void SetClrSelectedCenterLine(unsigned long);
unsigned long GetClrSelectedDigitalWaveform();
void SetClrSelectedDigitalWaveform(unsigned long);
BOOL GetFlgEndRecordBlock();
void SetFlgEndRecordBlock(BOOL);
BOOL GetFlgSelectedPlay();
void SetFlgSelectedPlay(BOOL);
CString GetFormatString();
void SetFormatString(LPCTSTR);
short GetTypePlayLevel();
void SetTypePlayLevel(short);
short GetTypeRecordLevel();
void SetTypeRecordLevel(short);
BOOL GetRepaintEnabled();
void SetRepaintEnabled(BOOL);
CString GetInfoName();
void SetInfoName(LPCTSTR);
CString GetInfoCopyright();
void SetInfoCopyright(LPCTSTR);
CString GetInfoGenre();
void SetInfoGenre(LPCTSTR);
CString GetInfoSubject();
void SetInfoSubject(LPCTSTR);
CString GetInfoComment();
void SetInfoComment(LPCTSTR);
CString GetInfoKeyWords();
void SetInfoKeyWords(LPCTSTR);
CString GetInfoSourceSuppler();
void SetInfoSourceSuppler(LPCTSTR);
CString GetInfoEngineers();
void SetInfoEngineers(LPCTSTR);
CString GetInfoDigitizer();
void SetInfoDigitizer(LPCTSTR);
CString GetInfoDigitizationSource();
void SetInfoDigitizationSource(LPCTSTR);
CString GetInfoArtists();
void SetInfoArtists(LPCTSTR);
CString GetInfoMedium();
void SetInfoMedium(LPCTSTR);
CString GetInfoProduct();
void SetInfoProduct(LPCTSTR);
CString GetInfoCreationDate();
void SetInfoCreationDate(LPCTSTR);
CString GetInfoSoftware();
void SetInfoSoftware(LPCTSTR);
BOOL GetInfoEnabled();
void SetInfoEnabled(BOOL);
BOOL GetBothChannelsOperations();
void SetBothChannelsOperations(BOOL);
long GetVoxFrequency();
void SetVoxFrequency(long);
short GetRawBitsPerSample();
void SetRawBitsPerSample(short);
short GetRawChannels();
void SetRawChannels(short);
long GetRawFrequency();
void SetRawFrequency(long);
short GetRawTypeCompress();
void SetRawTypeCompress(short);
short GetSrcInput();
void SetSrcInput(short);
short GetSrcInputCount();
void SetSrcInputCount(short);
CString GetSrcInputName();
void SetSrcInputName(LPCTSTR);
long GetSrcInputVolume();
void SetSrcInputVolume(long);
BOOL GetSrcInputSelect();
void SetSrcInputSelect(BOOL);
short GetDevInput();
void SetDevInput(short);
short GetDevInputCount();
void SetDevInputCount(short);
CString GetDevInputName();
void SetDevInputName(LPCTSTR);
short GetDevOutput();
void SetDevOutput(short);
short GetDevOutputCount();
void SetDevOutputCount(short);
CString GetDevOutputName();
void SetDevOutputName(LPCTSTR);
unsigned long GetClrScaleBackground();
void SetClrScaleBackground(unsigned long);
BOOL GetVolumeMute();
void SetVolumeMute(BOOL);
BOOL GetDevSrcInputEnabled();
void SetDevSrcInputEnabled(BOOL);
BOOL GetDevSrcOutputEnabled();
void SetDevSrcOutputEnabled(BOOL);
BOOL GetSrcInputVolumeEnabled();
void SetSrcInputVolumeEnabled(BOOL);
BOOL GetSrcInputSelectEnabled();
void SetSrcInputSelectEnabled(BOOL);
BOOL GetSrcInputListenEnabled();
void SetSrcInputListenEnabled(BOOL);
BOOL GetSrcInputListen();
void SetSrcInputListen(BOOL);
long GetVolume();
void SetVolume(long);
short GetVolumeBalance();
void SetVolumeBalance(short);
// Operations
public:
long Amplify(short Amplification);
long ContinuePlay();
long Full();
long ZoomIn();
long ZoomOut();
long PausePlay();
long Play();
long Silence();
float SamplToSec(long Pos);
long Cut();
long Copy();
long Paste();
long Stop();
long SaveSelect(LPCTSTR fileName);
long PasteFromFile(LPCTSTR fileName);
long Invert();
long Undo();
long Redo();
long Echo(long Delay, long Magnitude);
long Mix(long AmplifySelect, long AmplifyPaste);
long MixFromFile(LPCTSTR fileName, long AmplifySelect, long AmplifyPaste);
long Normalize(long Magnitude);
long Fade(short StartAmplify, short EndAmplify);
long Reverse();
long CopyToClipboard();
long PasteFromClipboard();
long Stretch(short Percent);
long Close();
long Save(LPCTSTR fileName);
void Repaint();
CString GetDataString();
long PutDataString(LPCTSTR Str);
long ConvertLikeSample(LPCTSTR fileName);
long ConvertFromMenu();
long InsertSilence(long ms);
long New(long SamplesPerSec, long nChannels);
long Record();
long Zoom(long StartPos, long EndPos);
long Open(LPCTSTR fileName);
long MergeToStereo(LPCTSTR fileSource1, LPCTSTR fileSource2, LPCTSTR fileDestination);
long Trim(long StartPos, long EndPos, long Level);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_NCTWAVPLAYER_H__A7B0CA03_2B32_4CF2_A04B_96430A95CF00__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -