增加插件代码

This commit is contained in:
2022-03-31 21:18:44 +08:00
parent 4f9104ab29
commit 2d07cc389d
471 changed files with 175059 additions and 36 deletions

View File

@@ -19,13 +19,20 @@ namespace hgl
void InitPrivate();
public:
private:
uint Index;
double Time; ///<缓冲区中音频数据可以播放的时间(秒)
uint Size; ///<缓冲区中音频数据的总字节数
uint Freq; ///<音频数量采样率
public:
const uint GetIndex()const{return Index;}
const double GetTime()const{return Time;}
const uint GetSize()const{return Size;}
const uint GetFreq()const{return Freq;}
public:
AudioBuffer(void *,int,AudioFileType); ///<本类构造函数