📄 reverb_data.h
字号:
/*//////////////////////////////////////////////////////////////////////////////
//
// INTEL CORPORATION PROPRIETARY INFORMATION
// This software is supplied under the terms of a license agreement or
// nondisclosure agreement with Intel Corporation and may not be copied
// or disclosed except in accordance with the terms of that agreement.
// Copyright(c) 2005-2006 Intel Corporation. All Rights Reserved.
//
// Note: umc_reverb_demoDlg.cpp - implementation revereration algorithm
*/
#ifndef __REVERB_DATA_H__
#define __REVERB_DATA_H__
#include "mmreg.h"
#include <winsock.h>
#include "umc_reverb_filter.h"
#include "vm_thread.h"
#include "ippcore.h"
#include "ipps.h"
#include "ippac.h"
//using namespace UMC;
#ifdef __cplusplus
extern "C"
{
#endif
#define MAX_PATH_LEN 1024
#define MAX_TITLE_LEN 256
#define REVERB_BUF_SIZE 4096
typedef struct{
vm_char ChunkName[4];
Ipp32s chunk_len;
}chunk_info;
class CUmc_reverb_demoDlg;
typedef struct {
HWND handler;
vm_char file_name[MAX_PATH];
chunk_info data_chunk;
vm_thread play_thread;
UMC::AudioStreamType streamtype;
Ipp16s nchan;
Ipp32s sRate;
Ipp16s bitspersample;
FILE *data;
Ipp32s isPlaying;
Ipp32s BufIsEmpty;
CUmc_reverb_demoDlg *dlg;
} FileInfoStruct;
typedef struct {
bool revParamsChanged;
bool reverb;
bool eReflect;
bool lReflect;
Ipp32s RSSliderPos;
Ipp32s FSliderPos;
Ipp32s LevelSliderPos;
} RevInfoStruct;
RevInfoStruct revInfo;
#ifdef __cplusplus
}
#endif
#endif /* __REVERB_DATA_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -