C# Class GAudio.GATProcessedSamplesCache.ProcessedAudioChunk

Inheritance: RetainableObject, IGATProcessedSample
Exibir arquivo Open project: gregzo/G-Audio

Public Properties

Property Type Description
envelope GATEnvelope
sourceSample GATData

Protected Properties

Property Type Description
_audioData GATData
_cachedLength int
_needsNewContainer bool
_parentCache GATProcessedSamplesCache

Private Properties

Property Type Description

Public Methods

Method Description
CheckNeedsNewContainer ( ) : void
CleanUp ( ) : void
FillWithResampledData ( int fromIndex, int targetLength, double pitch ) : void
FillWithSampleData ( int fromIndex, int length ) : void
Play ( AGATPanInfo panInfo, float gain = 1f, GATPlayer mixCallback = null ) : IGATBufferedSampleOptions
Play ( GATPlayer player, AGATPanInfo panInfo, float gain = 1f, GATPlayer mixCallback = null ) : IGATBufferedSampleOptions
Play ( GATPlayer player, int trackNb, float gain = 1f, GATPlayer mixCallback = null ) : IGATBufferedSampleOptions
Play ( int trackNb, float gain = 1f, GATPlayer mixCallback = null ) : IGATBufferedSampleOptions
PlayScheduled ( GATPlayer player, double dspTime, AGATPanInfo panInfo, float gain = 1f, GATPlayer mixCallback = null ) : IGATBufferedSampleOptions
PlayScheduled ( GATPlayer player, double dspTime, int trackNb, float gain = 1f, GATPlayer mixCallback = null ) : IGATBufferedSampleOptions
PlayScheduled ( double dspTime, AGATPanInfo panInfo, float gain = 1f, GATPlayer mixCallback = null ) : IGATBufferedSampleOptions
PlayScheduled ( double dspTime, int trackNb, float gain = 1f, GATPlayer mixCallback = null ) : IGATBufferedSampleOptions
ProcessedAudioChunk ( GATData sourcesample, GATEnvelope ienvelope, GATProcessedSamplesCache parentCache, double pitch = 1d ) : UnityEngine
SetPitch ( double newPitch ) : void
UpdateAudioData ( ) : void
UpdateContainer ( ) : void

Protected Methods

Method Description
Discard ( ) : void
FillAndProcessData ( ) : void

Method Details

CheckNeedsNewContainer() public method

public CheckNeedsNewContainer ( ) : void
return void

CleanUp() public method

public CleanUp ( ) : void
return void

Discard() protected method

protected Discard ( ) : void
return void

FillAndProcessData() protected method

protected FillAndProcessData ( ) : void
return void

FillWithResampledData() public method

public FillWithResampledData ( int fromIndex, int targetLength, double pitch ) : void
fromIndex int
targetLength int
pitch double
return void

FillWithSampleData() public method

public FillWithSampleData ( int fromIndex, int length ) : void
fromIndex int
length int
return void

Play() public method

public Play ( AGATPanInfo panInfo, float gain = 1f, GATPlayer mixCallback = null ) : IGATBufferedSampleOptions
panInfo AGATPanInfo
gain float
mixCallback GATPlayer
return IGATBufferedSampleOptions

Play() public method

public Play ( GATPlayer player, AGATPanInfo panInfo, float gain = 1f, GATPlayer mixCallback = null ) : IGATBufferedSampleOptions
player GATPlayer
panInfo AGATPanInfo
gain float
mixCallback GATPlayer
return IGATBufferedSampleOptions

Play() public method

public Play ( GATPlayer player, int trackNb, float gain = 1f, GATPlayer mixCallback = null ) : IGATBufferedSampleOptions
player GATPlayer
trackNb int
gain float
mixCallback GATPlayer
return IGATBufferedSampleOptions

Play() public method

public Play ( int trackNb, float gain = 1f, GATPlayer mixCallback = null ) : IGATBufferedSampleOptions
trackNb int
gain float
mixCallback GATPlayer
return IGATBufferedSampleOptions

PlayScheduled() public method

public PlayScheduled ( GATPlayer player, double dspTime, AGATPanInfo panInfo, float gain = 1f, GATPlayer mixCallback = null ) : IGATBufferedSampleOptions
player GATPlayer
dspTime double
panInfo AGATPanInfo
gain float
mixCallback GATPlayer
return IGATBufferedSampleOptions

PlayScheduled() public method

public PlayScheduled ( GATPlayer player, double dspTime, int trackNb, float gain = 1f, GATPlayer mixCallback = null ) : IGATBufferedSampleOptions
player GATPlayer
dspTime double
trackNb int
gain float
mixCallback GATPlayer
return IGATBufferedSampleOptions

PlayScheduled() public method

public PlayScheduled ( double dspTime, AGATPanInfo panInfo, float gain = 1f, GATPlayer mixCallback = null ) : IGATBufferedSampleOptions
dspTime double
panInfo AGATPanInfo
gain float
mixCallback GATPlayer
return IGATBufferedSampleOptions

PlayScheduled() public method

public PlayScheduled ( double dspTime, int trackNb, float gain = 1f, GATPlayer mixCallback = null ) : IGATBufferedSampleOptions
dspTime double
trackNb int
gain float
mixCallback GATPlayer
return IGATBufferedSampleOptions

ProcessedAudioChunk() public method

public ProcessedAudioChunk ( GATData sourcesample, GATEnvelope ienvelope, GATProcessedSamplesCache parentCache, double pitch = 1d ) : UnityEngine
sourcesample GATData
ienvelope GATEnvelope
parentCache GATProcessedSamplesCache
pitch double
return UnityEngine

SetPitch() public method

public SetPitch ( double newPitch ) : void
newPitch double
return void

UpdateAudioData() public method

public UpdateAudioData ( ) : void
return void

UpdateContainer() public method

public UpdateContainer ( ) : void
return void

Property Details

_audioData protected_oe property

protected GATData,GAudio _audioData
return GATData

_cachedLength protected_oe property

protected int _cachedLength
return int

_needsNewContainer protected_oe property

protected bool _needsNewContainer
return bool

_parentCache protected_oe property

protected GATProcessedSamplesCache,GAudio _parentCache
return GATProcessedSamplesCache

envelope public_oe property

public GATEnvelope,GAudio envelope
return GATEnvelope

sourceSample public_oe property

public GATData,GAudio sourceSample
return GATData