ReportStatusMad(uint frameCount, uint byteCount, ref MadlldlibWrapper.mad_header mh) { progressBar1.Value = (int)(((float)byteCount / (float)soundFileSize) * 100); return(true); }
/* * 解码进度 */ private static bool ReportStatusMad(uint frameCount, uint byteCount, ref MadlldlibWrapper.mad_header mh) { convertProgressBar.Value = (int)(((float)byteCount / (float)soundFileSize) * 100); return(true); }