コード例 #1
0
        // ********************** Private functions & voids *********************

        private void FResetData()
        {
            // Reset data
            FValid              = false;
            FVersion            = 0;
            FVersionStr         = "";
            FChannels           = 0;
            FSampleRate         = 0;
            FBits               = 0;
            FPeakLevel          = 0;
            FPeakLevelRatio     = 0.0;
            FTotalSamples       = 0;
            FBitrate            = 0.0;
            FDuration           = 0.0;
            FCompressionMode    = 0;
            FCompressionModeStr = "";
            FFormatFlags        = 0;
            FHasPeakLevel       = false;
            FHasSeekElements    = false;
            FWavNotStored       = false;
            FFileSize           = 0;
            FID3v1.ResetData();
            FID3v2.ResetData();
            FAPEtag.ResetData();
        }
コード例 #2
0
        // ********************** Private functions & voids *********************

        private void FResetData()
        {
            // Reset data
            FFileLength = 0;
            FHeader.Reset();
            FID3v1.ResetData();
            FID3v2.ResetData();
            FAPEtag.ResetData();
        }
コード例 #3
0
        // ********************** Private functions & procedures *********************

        // Reset all variables
        void FResetData()
        {
            FFileSize      = 0;
            FHeaderTypeID  = AAC_HEADER_TYPE_UNKNOWN;
            FMPEGVersionID = AAC_MPEG_VERSION_UNKNOWN;
            FProfileID     = AAC_PROFILE_UNKNOWN;
            FChannels      = 0;
            FSampleRate    = 0;
            FBitRate       = 0;
            FBitRateTypeID = AAC_BITRATE_TYPE_UNKNOWN;
            FID3v1.ResetData();
            FID3v2.ResetData();
            FAPEtag.ResetData();
            FTotalFrames = 0;
        }
コード例 #4
0
ファイル: MPEGplus.cs プロジェクト: windygu/alexandrialibrary
        // ********************** Private functions & voids *********************

        private void FResetData()
        {
            FValid         = false;
            FChannelModeID = 0;
            FFileSize      = 0;
            FFrameCount    = 0;
            FBitRate       = 0;
            FStreamVersion = 0;
            FSampleRate    = 0;
            FEncoder       = "";
            FProfileID     = MPP_PROFILE_UNKNOWN;
            FID3v1.ResetData();
            FID3v2.ResetData();
            FAPEtag.ResetData();
        }
コード例 #5
0
        // ---------------------------------------------------------------------------

        private void FResetData()
        {
            FFileSize   = 0;
            FTagSize    = 0;
            FValid      = false;
            FFormatTag  = 0;
            FChannels   = 0;
            FSampleRate = 0;
            FBits       = 0;
            FBitrate    = 0;
            FDuration   = 0;
            FVersion    = 0;
            FEncoder    = "";
            FSamples    = 0;
            FBSamples   = 0;
            FAPEtag.ResetData();
        }
コード例 #6
0
        // ********************** Private functions & voids *********************

        private void FResetData()
        {
            // Reset all data
            FFileSize = 0;
            FValid    = false;

            FAudioFormat = 0;
            FChannels    = 0;
            FBits        = 0;
            FSampleRate  = 0;
            FSamples     = 0;
            FCRC32       = 0;

            FBitrate  = 0;
            FDuration = 0;

            FID3v1.ResetData();
            FID3v2.ResetData();
            FAPEtag.ResetData();
        }
コード例 #7
0
        // ********************** Private functions & voids *********************

        private void FResetData()
        {
            // Reset all variables
            FFileLength = 0;
            FVendorID   = "";

            FVBR.Found = false;
            Array.Clear(FVBR.ID, 0, FVBR.ID.Length);
            FVBR.Frames   = 0;
            FVBR.Bytes    = 0;
            FVBR.Scale    = 0;
            FVBR.VendorID = "";

            FFrame.Found    = false;
            FFrame.Position = 0;
            FFrame.Size     = 0;
            FFrame.Xing     = false;
            Array.Clear(FFrame.Data, 0, FFrame.Data.Length);
            FFrame.VersionID       = 0;
            FFrame.LayerID         = 0;
            FFrame.ProtectionBit   = false;
            FFrame.BitRateID       = 0;
            FFrame.SampleRateID    = 0;
            FFrame.PaddingBit      = false;
            FFrame.PrivateBit      = false;
            FFrame.ModeID          = 0;
            FFrame.ModeExtensionID = 0;
            FFrame.CopyrightBit    = false;
            FFrame.OriginalBit     = false;
            FFrame.EmphasisID      = 0;

            FFrame.VersionID       = MPEG_VERSION_UNKNOWN;
            FFrame.SampleRateID    = MPEG_SAMPLE_RATE_UNKNOWN;
            FFrame.ModeID          = MPEG_CM_UNKNOWN;
            FFrame.ModeExtensionID = MPEG_CM_EXTENSION_UNKNOWN;
            FFrame.EmphasisID      = MPEG_EMPHASIS_UNKNOWN;
            FID3v1.ResetData();
            FID3v2.ResetData();
            FAPEtag.ResetData();
        }