Beispiel #1
0
        ReportStatusMad(uint frameCount, uint byteCount,
                        ref MadlldlibWrapper.mad_header mh)
        {
            progressBar1.Value =
                (int)(((float)byteCount / (float)soundFileSize) * 100);

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

            return(true);
        }