C# Класс GAudio.GATLoopedSample

A wrapper for GATData or IGATProcessedSample objects. Adds gapless looping and smooth stop behaviour.
Наследование: AGATWrappedSample
Показать файл Открыть проект

Открытые методы

Метод Описание
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 ).

Защищенные методы

Метод Описание
PlayerWillMixSample ( IGATBufferedSample sample, int length, float audioBuffer ) : bool

Описание методов

GATLoopedSample() публичный Метод

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
Результат System.Collections

PlayerWillMixSample() защищенный Метод

protected PlayerWillMixSample ( IGATBufferedSample sample, int length, float audioBuffer ) : bool
sample IGATBufferedSample
length int
audioBuffer float
Результат bool