C# Class GAudio.GATLoopedSample

A wrapper for GATData or IGATProcessedSample objects. Adds gapless looping and smooth stop behaviour.
Inheritance: AGATWrappedSample
Afficher le fichier Open project: gregzo/G-Audio

Méthodes publiques

Méthode Description
GATLoopedSample ( IGATDataOwner dataOwner, int numberOfLoops = -1, AGATPanInfo panInfo = null ) : System.Collections

Wraps audio data in a looping container. Set NumberOfLoops to -1 for infinite looping. 0 for no loop. Pass a GATFixedPanInfo or GATDynamicPanInfo object if you intend to route playback directly to the player ( as opposed to through a track ).

Méthodes protégées

Méthode Description
PlayerWillMixSample ( IGATBufferedSample sample, int length, float audioBuffer ) : bool

Method Details

GATLoopedSample() public méthode

Wraps audio data in a looping container. Set NumberOfLoops to -1 for infinite looping. 0 for no loop. Pass a GATFixedPanInfo or GATDynamicPanInfo object if you intend to route playback directly to the player ( as opposed to through a track ).
public GATLoopedSample ( IGATDataOwner dataOwner, int numberOfLoops = -1, AGATPanInfo panInfo = null ) : System.Collections
dataOwner IGATDataOwner
numberOfLoops int
panInfo AGATPanInfo
Résultat System.Collections

PlayerWillMixSample() protected méthode

protected PlayerWillMixSample ( IGATBufferedSample sample, int length, float audioBuffer ) : bool
sample IGATBufferedSample
length int
audioBuffer float
Résultat bool