Download Now

    Reference AudioFormatDetect

    Declared in Codebot.Hardware.pas on lines 105, 107

    Detect the audio format of a file. An EAudioFormatException is raised if the format is known but the channels, sample size or sample rate are not supported.
    function AudioFormatDetect(const FileName: string): TAudioFormat; overload;
    Detect the audio format of a stream, which is read from its start
    function AudioFormatDetect(Stream: TStream): TAudioFormat; overload;

    See also