Singleton class for loading of ogg and wav files from disk. Both async and sync operations supported ( sync operations are in GATAudioLoaderSync.cs ). Use to load user files or files in the StreamingAssets folder.
Пример #1
0
 GATAudioLoader()
 {
     _buffer = new float[ 16384 * GATInfo.MaxIOChannels ];
     __sharedInstance = this;
 }
Пример #2
0
 GATAudioLoader()
 {
     _buffer          = new float[16384 * GATInfo.MaxIOChannels];
     __sharedInstance = this;
 }