Thema: Delphi WAV File Info?

Einzelnen Beitrag anzeigen

venice2
(Gast)

n/a Beiträge
 
#2

AW: WAV File Info?

  Alt 17. Sep 2022, 01:37
Suche mal nach AudioWerkzeugeBibliothek von Gausi.
Da gibt es die WavFiles.pas dort dürfte eigentlich alles übergeben werden.

Delphi-Quellcode:
    Twavfile = class(TBaseAudioFile)
        private
            procedure fResetData;
        protected
            function fGetFileSize : Int64; override;
            function fGetDuration : Integer; override;
            function fGetBitrate : Integer; override;
            function fGetSamplerate : Integer; override;
            function fGetChannels : Integer; override;
            function fGetValid : Boolean; override;

            procedure fSetTitle (aValue: UnicodeString); override;
            procedure fSetArtist (aValue: UnicodeString); override;
            procedure fSetAlbum (aValue: UnicodeString); override;
            procedure fSetYear (aValue: UnicodeString); override;
            procedure fSetTrack (aValue: UnicodeString); override;
            procedure fSetGenre (aValue: UnicodeString); override;

            function fGetTitle : UnicodeString; override;
            function fGetArtist : UnicodeString; override;
            function fGetAlbum : UnicodeString; override;
            function fGetYear : UnicodeString; override;
            function fGetTrack : UnicodeString; override;
            function fGetGenre : UnicodeString; override;

        public
            { Public declarations }
            constructor Create;
            function ReadFromFile(aFilename: UnicodeString): TAudioError; override;
            function WriteToFile(aFilename: UnicodeString): TAudioError; override;
            function RemoveFromFile(aFilename: UnicodeString): TAudioError; override;
        end;

Geändert von venice2 (17. Sep 2022 um 04:25 Uhr)
  Mit Zitat antworten Zitat