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

            return(true);
        }
コード例 #2
0
ファイル: Window.cs プロジェクト: rkteddy/AudioConverter
        /*
         * 解码进度
         */
        private static bool ReportStatusMad(uint frameCount, uint byteCount,
                                            ref MadlldlibWrapper.mad_header mh)
        {
            convertProgressBar.Value =
                (int)(((float)byteCount / (float)soundFileSize) * 100);

            return(true);
        }