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.

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() 

Push a new CuePoint into the current set of CuePoints

addCuePoint(\CuePoint $CuePoint) 

Parameters

$CuePoint

\CuePoint

getChunkSize()

getChunkSize() : int

Returns

int

getCuePoints()

getCuePoints() : array

Returns

array

Gets the number of Cue Points in the wav file

getCuePointsNumber() : \ChunkField

Returns

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

setCuePoints()

setCuePoints(array $CuePoints) 

Parameters

$CuePoints

array

Sets the number of Cue Points in the wav file

setCuePointsNumber(\ChunkField $CuePointsNumber) 

Parameters

$CuePointsNumber

\ChunkField

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

toString() : string

Returns

string

Retrieves actual number of CuePoints

calculateCuePointsNumber(int $CueSize) : int

Parameters

$CueSize

int

Returns

int

 Properties

 

$CuePoints

$CuePoints : array

 

The number of Cue Points in the wav file

$CuePointsNumber : \ChunkField

 Constants

 

ID

ID