0 Star 0 Fork 0

cm.wang/Bass

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
BassSpectrum.bi 897 Bytes
一键复制 编辑 原始数据 按行查看 历史
chunmingwang 提交于 2022-09-05 17:06 . Initial
'BASS for freebasic translate by Cm.Wang
#pragma once
Type BassSpectrum
Private : '私有变量
SpecWidth As Integer = 368 ' display width
SpecHeight As Integer = 127 ' height (changing requires palette adjustments too)
specbuf(Any) As Byte
specmode As Integer ' spectrum mode
specpos As Integer ' marker Pos For 3D mode
bh As BITMAPINFO Ptr
dt(Any) As Byte
Private : '私有函数
Public : '构造与析构函数
Declare Constructor
Declare Destructor
Public : '共有类的事件
Public : '共有类的方法
Public : '共有类的属性
Declare Property Mode() As Integer
Declare Property Mode(ByVal nVal As Integer)
Public : '共有过程和函数
Declare Sub Init(w As Integer = 368 , h As Integer = 127)
Declare Sub Update(Chan As DWORD, hWnd As HANDLE)
End Type
#ifndef __USE_MAKE__
#include once "BassSpectrum.bas"
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cm-wang/Bass.git
git@gitee.com:cm-wang/Bass.git
cm-wang
Bass
Bass
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385