Lines Matching refs:info

27 		$info = &$this->getid3->info;
29 $info['mpc']['header'] = array();
30 $thisfile_mpc_header = &$info['mpc']['header'];
32 $info['fileformat'] = 'mpc';
33 $info['audio']['dataformat'] = 'mpc';
34 $info['audio']['bitrate_mode'] = 'vbr';
35 …$info['audio']['channels'] = 2; // up to SV7 the format appears to have been hardcoded for…
36 $info['audio']['lossless'] = false;
38 $this->fseek($info['avdataoffset']);
40 …$info['mpc']['header']['preamble'] = substr($MPCheaderData, 0, 4); // should be 'MPCK' (SV8) or 'M…
41 if (preg_match('#^MPCK#', $info['mpc']['header']['preamble'])) {
46 } elseif (preg_match('#^MP\+#', $info['mpc']['header']['preamble'])) {
58 …$this->error('Expecting "MP+" or "MPCK" at offset '.$info['avdataoffset'].', found "'.getid3_lib::…
59 unset($info['fileformat']);
60 unset($info['mpc']);
73 $info = &$this->getid3->info;
74 $thisfile_mpc_header = &$info['mpc']['header'];
80 while ($offset < $info['avdataend']) {
137 $info['audio']['channels'] = $thisPacket['channels'];
138 $info['audio']['sample_rate'] = $thisPacket['sample_frequency'];
139 $info['playtime_seconds'] = $thisPacket['sample_count'] / $thisPacket['sample_frequency'];
140 …$info['audio']['bitrate'] = (($info['avdataend'] - $info['avdataoffset']) * 8) / $info['playtime_s…
159 …if ($thisPacket['replaygain_title_gain']) { $info['replay_gain']['title']['gain'] = $thisPacket['r…
160 …if ($thisPacket['replaygain_title_peak']) { $info['replay_gain']['title']['peak'] = $thisPacket['r…
161 …if ($thisPacket['replaygain_album_gain']) { $info['replay_gain']['album']['gain'] = $thisPacket['r…
162 …if ($thisPacket['replaygain_album_peak']) { $info['replay_gain']['album']['peak'] = $thisPacket['r…
184 …$info['audio']['encoder'] = 'MPC v'.$thisPacket['version'].' ('.(($thisPacket['version_minor'] % 2…
185 $thisfile_mpc_header['encoder_version'] = $info['audio']['encoder'];
208 $info['mpc']['packets'][] = $thisPacket;
223 $info = &$this->getid3->info;
224 $thisfile_mpc_header = &$info['mpc']['header'];
228 $MPCheaderData = $info['mpc']['header']['preamble'];
229 …$MPCheaderData .= $this->fread($thisfile_mpc_header['size'] - strlen($info['mpc']['header']['pream…
282 $info['audio']['sample_rate'] = $thisfile_mpc_header['sample_rate'];
283 …rame_count'] - 1) * 1152) + $thisfile_mpc_header['last_frame_length']) * $info['audio']['channels'…
285 …$info['playtime_seconds'] = ($thisfile_mpc_header['samples'] / $info['audio']['channels']) / $
286 if ($info['playtime_seconds'] == 0) {
292 $info['avdataoffset'] += $thisfile_mpc_header['size'];
294 …$info['audio']['bitrate'] = (($info['avdataend'] - $info['avdataoffset']) * 8) / $info['playtime_s…
313 $info['replay_gain']['track']['adjustment'] = $thisfile_mpc_header['title_gain_db'];
314 $info['replay_gain']['album']['adjustment'] = $thisfile_mpc_header['album_gain_db'];
317 $info['replay_gain']['track']['peak'] = $thisfile_mpc_header['title_peak'];
319 …$info['replay_gain']['track']['peak'] = getid3_lib::CastAsInt(round($thisfile_mpc_header['max_leve…
322 $info['replay_gain']['album']['peak'] = $thisfile_mpc_header['album_peak'];
326 $info['audio']['encoder'] = $thisfile_mpc_header['encoder_version'];
327 $info['audio']['encoder_options'] = $thisfile_mpc_header['profile'];
339 $info = &$this->getid3->info;
340 $thisfile_mpc_header = &$info['mpc']['header'];
344 $this->fseek($info['avdataoffset']);
348 $info['avdataoffset'] += $thisfile_mpc_header['size'];
384 …$info['error'] = 'Expecting 4, 5 or 6 in version field, found '.$thisfile_mpc_header['stream_versi…
385 unset($info['mpc']);
394 $info['audio']['sample_rate'] = $thisfile_mpc_header['sample_rate'];
395 …$thisfile_mpc_header['samples'] = $thisfile_mpc_header['frame_count'] * 1152 * $info['audio'…
398 $info['audio']['bitrate_mode'] = 'vbr';
400 $info['audio']['bitrate_mode'] = 'cbr';
403 …$info['mpc']['bitrate'] = ($info['avdataend'] - $info['avdataoffset']) * 8 * 44100 / $thisfile_m…
404 $info['audio']['bitrate'] = $info['mpc']['bitrate'];
405 $info['audio']['encoder'] = 'SV'.$thisfile_mpc_header['stream_version_major'];