C# Class GAudio.GATAudioClipExtensions

Helper methods to extract audio data from AudioClips
Afficher le fichier Open project: gregzo/G-Audio

Méthodes publiques

Méthode Description
ExtractChannels ( this clip, GATDataAllocationMode mode ) : GAudio.GATData[]

Performs the same operation as ToGATData, but splits interleaved channels in seperate GATData instances.

ToGATData ( this clip, GATDataAllocationMode mode ) : GATData

Extracts the audio data from an AudioClip and sets it in a GATData object. Memory is allocated according to the specified GATDataAllocationMode.

Method Details

ExtractChannels() public static méthode

Performs the same operation as ToGATData, but splits interleaved channels in seperate GATData instances.
public static ExtractChannels ( this clip, GATDataAllocationMode mode ) : GAudio.GATData[]
clip this
mode GATDataAllocationMode
Résultat GAudio.GATData[]

ToGATData() public static méthode

Extracts the audio data from an AudioClip and sets it in a GATData object. Memory is allocated according to the specified GATDataAllocationMode.
public static ToGATData ( this clip, GATDataAllocationMode mode ) : GATData
clip this
mode GATDataAllocationMode
Résultat GATData