mainform.cs
(开头部分) 12KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using NAudio.CoreAudioApi;
using NAudio.Wave;
using System.Collections.ObjectModel;
using System.IO;
using System.Drawing.Drawing2D;
using System.Threading;
using PropertyGridEx;
using System.Linq;
using System.Configuration;
namespace AudioLoopBack
{
public partial class mainform : Form
{
IWaveIn waveIn;
NAudio.Utils.CircularBuffer cb = new NAudio.Utils.CircularBuffer(80000);
Thread DataProcess;
bool DataProcessStatus = false;
private System.Threading.Timer Upload_Timer;
float[] RawFFTData_Old = new float[256];
float[] RawFFTData_New = new float[256];
float[] AdjustFFTData_New = new float[256];
float[] AdjustFFTData_Old = new float[256];
float[] FFT_DATA_HID = new float[32];
int SelectWidth = 63;
int SelectIndex = 2;
WaveShowPanel wp = new WaveShowPanel();
public class WaveShowPanel : Panel
{
public WaveShowPanel()
{
// base.SetStyle(ControlStyles.OptimizedDoubleBuffer |
//ControlStyles.ResizeRedraw |
//ControlStyles.AllPaintingInWmPaint, true);
base.BackColor = Color.White;
}
}
public mainform()
{
InitializeComponent();
LoadWasapiDevicesCombo();
HidDev.VendorId = 0x0416;
HidDev.ProductId = 0x5022;
后面还有 365 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。