22 $info = &$this->getid3->info;
25 $AAheader = $this->
fread(8);
27 $magic =
"\x57\x90\x75\x36";
28 if (substr($AAheader, 4, 4) != $magic) {
35 $thisfile_aa = &
$info[
'aa'];
37 $info[
'fileformat'] =
'aa';
38 $info[
'audio'][
'dataformat'] =
'aa';
39 $this->
error(
'Audible Audiobook (.aa) parsing not enabled in this version of getID3() ['.$this->getid3->version().
']');
41 $info[
'audio'][
'bitrate_mode'] =
'cbr';
42 $thisfile_aa[
'encoding'] =
'ISO-8859-1';
45 if ($thisfile_aa[
'filesize'] > (
$info[
'avdataend'] -
$info[
'avdataoffset'])) {
46 $this->
warning(
'Possible truncated file - expecting "'.$thisfile_aa[
'filesize'].
'" bytes of data, only found '.(
$info[
'avdataend'] -
$info[
'avdataoffset']).
' bytes"');
49 $info[
'audio'][
'bits_per_sample'] = 16;
50 $info[
'audio'][
'sample_rate'] = $thisfile_aa[
'sample_rate'];
51 $info[
'audio'][
'channels'] = $thisfile_aa[
'channels'];
getID3() by James Heinrich info@getid3.org //
static PrintHexBytes($string, $hex=true, $spaces=true, $htmlencoding='UTF-8')
Create styles array
The data for the language used.
fseek($bytes, $whence=SEEK_SET)
static BigEndian2Int($byteword, $synchsafe=false, $signed=false)