The class that maps the Cue Points which is part 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.

author Aurelio De Rosa
version 1.0
license CC BY-NC 3.0
link https://bitbucket.org/AurelioDeRosa/audero-wav-extractor
package Audero\AuderoWavExtractor

 Methods

The default constructor

__construct() 

getBlockStart()

getBlockStart() : \ChunkField

Returns

getChunkStart()

getChunkStart() : \ChunkField

Returns

getDataChunkId()

getDataChunkId() : \ChunkField

Returns

getId()

getId() : \ChunkField

Returns

getPosition()

getPosition() : \ChunkField

Returns

getSampleOffset()

getSampleOffset() : \ChunkField

Returns

getSize()

getSize() : int

Returns

int

Read the data inside the managed file to fill the properties of the current chunk.

readData(resource $Handle) : int

Parameters

$Handle

resource

The handle of the managed file

Returns

intThe amount of bytes read

setBlockStart()

setBlockStart(\ChunkField $BlockStart) 

Parameters

$BlockStart

\ChunkField

setChunkStart()

setChunkStart(\ChunkField $ChunkStart) 

Parameters

$ChunkStart

\ChunkField

setDataChunkId()

setDataChunkId(\ChunkField $DataChunkId) 

Parameters

$DataChunkId

\ChunkField

setId()

setId(\ChunkField $Id) 

Parameters

setPosition()

setPosition(\ChunkField $Position) 

Parameters

$Position

\ChunkField

setSampleOffset()

setSampleOffset(\ChunkField $SampleOffset) 

Parameters

$SampleOffset

\ChunkField

Converts the current chunk into a string based on the values of its properties

toString() : string

Returns

string

 Properties

 

$BlockStart

$BlockStart : \ChunkField

 

$ChunkStart

$ChunkStart : \ChunkField

 

$DataChunkId

$DataChunkId : \ChunkField

 

$Id

$Id : \ChunkField

 

$Position

$Position : \ChunkField

 

$SampleOffset

$SampleOffset : \ChunkField