getid3_aac
extends getid3_handler
in package
Table of Contents
Properties
- $data_string : string
- String to analyze.
- $data_string_flag : bool
- Analyzing filepointer or string.
- $data_string_length : int
- String length.
- $data_string_position : int
- Seek position in string.
- $getid3 : getID3
- $dependency_to : string
Methods
- __construct() : mixed
- getid3_handler constructor.
- AACchannelCountCalculate() : int
- AACprofileLookup() : string
- AACsampleRateLookup() : int|string
- Analyze() : bool
- Analyze from file pointer.
- AnalyzeString() : mixed
- Analyze from string instead.
- getAACADIFheaderFilepointer() : bool
- getAACADTSheaderFilepointer() : bool
- saveAttachment() : string|null
- setStringMode() : mixed
- error() : bool
- feof() : bool
- fgets() : string|false
- fread() : string|false
- fseek() : int
- ftell() : int|bool
- isDependencyFor() : bool
- notice() : mixed
- warning() : bool
Properties
$data_string
String to analyze.
protected
string
$data_string
= ''
$data_string_flag
Analyzing filepointer or string.
protected
bool
$data_string_flag
= \false
$data_string_length
String length.
protected
int
$data_string_length
= 0
$data_string_position
Seek position in string.
protected
int
$data_string_position
= 0
$getid3
protected
getID3
$getid3
$dependency_to
private
string
$dependency_to
Methods
__construct()
getid3_handler constructor.
public
__construct(getID3 $getid3[, string $call_module = null ]) : mixed
Parameters
- $getid3 : getID3
- $call_module : string = null
AACchannelCountCalculate()
public
static AACchannelCountCalculate(array<string|int, mixed> $program_configs) : int
Parameters
- $program_configs : array<string|int, mixed>
Return values
intAACprofileLookup()
public
static AACprofileLookup(int $profileid, int $mpegversion) : string
Parameters
- $profileid : int
- $mpegversion : int
Return values
stringAACsampleRateLookup()
public
static AACsampleRateLookup(int $samplerateid) : int|string
Parameters
- $samplerateid : int
Return values
int|stringAnalyze()
Analyze from file pointer.
public
Analyze() : bool
Return values
boolAnalyzeString()
Analyze from string instead.
public
AnalyzeString(string $string) : mixed
Parameters
- $string : string
getAACADIFheaderFilepointer()
public
getAACADIFheaderFilepointer() : bool
Return values
boolgetAACADTSheaderFilepointer()
public
getAACADTSheaderFilepointer([int $MaxFramesToScan = 1000000 ][, bool $ReturnExtendedInfo = false ]) : bool
Parameters
- $MaxFramesToScan : int = 1000000
- $ReturnExtendedInfo : bool = false
Return values
boolsaveAttachment()
public
saveAttachment(string $name, int $offset, int $length[, string $image_mime = null ]) : string|null
Parameters
- $name : string
- $offset : int
- $length : int
- $image_mime : string = null
Tags
Return values
string|nullsetStringMode()
public
setStringMode(string $string) : mixed
Parameters
- $string : string
error()
protected
error(string $text) : bool
Parameters
- $text : string
Return values
boolfeof()
protected
feof() : bool
Tags
Return values
boolfgets()
protected
fgets() : string|false
Tags
Return values
string|falsefread()
protected
fread(int $bytes) : string|false
Parameters
- $bytes : int
Tags
Return values
string|falsefseek()
protected
fseek(int $bytes[, int $whence = SEEK_SET ]) : int
Parameters
- $bytes : int
- $whence : int = SEEK_SET
Tags
Return values
intftell()
protected
ftell() : int|bool
Tags
Return values
int|boolisDependencyFor()
protected
final isDependencyFor(string $module) : bool
Parameters
- $module : string
Return values
boolnotice()
protected
notice(string $text) : mixed
Parameters
- $text : string
warning()
protected
warning(string $text) : bool
Parameters
- $text : string