The class of the Cue chunk.
More info here: http://www.sonicspot.com/guide/wavefiles.html
LICENSE: "Audero Wav Extractor" (from now on "The software") is released under
the CC BY-NC 3.0 ("Creative Commons Attribution NonCommercial 3.0") license.
More details can be found here: http://creativecommons.org/licenses/by-nc/3.0/
WARRANTY: The software is provided "as is", without warranty of any kind,
express or implied, including but not limited to the warranties of merchantability,
fitness for a particular purpose and noninfringement. In no event shall the
authors or copyright holders be liable for any claim, damages or other
liability, whether in an action of contract, tort or otherwise, arising from,
out of or in connection with the software or the use or other dealings in
the software.
Methods
The default constructor
__construct()
Magic method to execute the getter associated to the property name given
__get(string $name) : mixed
Inherited
| inherited_from |
\Audero\WavExtractor\Wav\Chunk::__get() |
Parameters
$name
stringThe name of the property
Exceptions
Returns
mixedThe result of the invoked method
Calculate the size of the chunk
getChunkSize() : int
Retrieves the chunk type based on the given id
getChunkType(string $id) : \Audero\WavExtractor\Wav\Chunk
InheritedStatic
| inherited_from |
\Audero\WavExtractor\Wav\Chunk::getChunkType() |
Parameters
$id
stringThe id of the chunk
Returns
Get the cue points
getCuePoints() : array
Read the data inside the managed file to fill the properties of the
current chunk.
readData(resource $handle) : int
Parameters
$handle
resourceThe handle of the managed file
Returns
intThe amount of bytes read
Converts the current chunk into a string based on the values of its properties
toString() : string
Retrieves the actual number of cue points
calculateCuePointsNumber(int $cueSize) : int
Parameters
$cueSize
intThe size of the cue points chunk in bytes
Returns
int
Properties
Constants
ID_SIZE
ID_SIZE
Inherited
| inherited_from |
\Audero\WavExtractor\Wav\Chunk::ID_SIZE |