C# Класс GAudio.GATAudioClipExtensions

Helper methods to extract audio data from AudioClips
Показать файл Открыть проект

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

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

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

ExtractChannels() публичный статический Метод

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
Результат GAudio.GATData[]

ToGATData() публичный статический Метод

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