⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 spatial.h

📁 基于EP7312的MP3播放器源代码,包括MCU和PC端代码.
💻 H
字号:
//****************************************************************************//// SPATIAL.H - Definitions for the interface to the Spatializer library.//// Copyright (c) 2001 Cirrus Logic, Inc.////****************************************************************************#ifdef SUPPORT_SPATIALIZER#include "buffer/buffer.h"#include "spatial/vibe.h"//****************************************************************************//// The persistent state of the QSound control.////****************************************************************************typedef struct{    //    // The persistent state of the Spatializer control.    //    VIBE sVibe;    //    // A boolean which is true if the audio should be passed through the    // Spatializer control.    //    unsigned long bProcessAudio;    //    // The buffer from which we receive input data.    //    BufferState sInputBuffer;    //    // The buffer to which we send output data.    //    BufferState *pOutputBuffer;} tSpatializerControl;//****************************************************************************//// Function prototypes.////****************************************************************************extern void SpatializerInit(tSpatializerControl *pSpatial,                            BufferState *pOutputBuffer);extern void SpatializerAdjustBass(tSpatializerControl *pSpatial, long lBass);extern void SpatializerAdjustVirtualBass(tSpatializerControl *pSpatial,                                         long lBass);extern void SpatializerAdjustGain(tSpatializerControl *pSpatial, long lGain);extern void SpatializerEnable(tSpatializerControl *pSpatial);extern void SpatializerDisable(tSpatializerControl *pSpatial);extern BufferState *SpatializerGetInputBuffer(tSpatializerControl *pSpatial);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -