C# Class NScumm.Core.Audio.Decoders.SubLoopingAudioStream

A looping audio stream, which features looping of a nested part of the stream.
Currently this implementation stops after the nested loop finished playback. IMPORTANT: This might be merged with SubSeekableAudioStream for playback purposes. (After extending it to accept a start time).
Inheritance: IAudioStream
Mostrar archivo Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
ReadBuffer ( short buffer, int count ) : int
SubLoopingAudioStream ( ISeekableAudioStream stream, uint loops, Timestamp loopStart, Timestamp loopEnd, bool disposeAfterUse = true ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

ReadBuffer() public method

public ReadBuffer ( short buffer, int count ) : int
buffer short
count int
return int

SubLoopingAudioStream() public method

public SubLoopingAudioStream ( ISeekableAudioStream stream, uint loops, Timestamp loopStart, Timestamp loopEnd, bool disposeAfterUse = true ) : System
stream ISeekableAudioStream
loops uint
loopStart Timestamp
loopEnd Timestamp
disposeAfterUse bool
return System