getid3_flac::Analyze() –

You appear to be a bot. Output may be restricted

Description

Usage

$bool = getid3_flac::Analyze();

Parameters

Returns

bool

Source

File name: wordpress/wp-includes/ID3/module.audio.flac.php
Lines:

1 to 16 of 16
  public function Analyze() {
    $info = &$this->getid3->info;

    $this->fseek($info['avdataoffset']);
    $StreamMarker = $this->fread(4);
    if ($StreamMarker != self::syncword) {
      return $this->error('Expecting "'.getid3_lib::PrintHexBytes(self::syncword).'" at offset '.$info['avdataoffset'].', found "'.getid3_lib::PrintHexBytes($StreamMarker).'"');
    }
    $info['fileformat']            = 'flac';
    $info['audio']['dataformat']   = 'flac';
    $info['audio']['bitrate_mode'] = 'vbr';
    $info['audio']['lossless']     = true;

    // parse flac container
    return $this->getid3_flac::parseMETAdata();
  }
 

 View on GitHub View on Trac