Méthode | Description | |
---|---|---|
CancelPendingOperations ( ) : void |
Cancels the current operation as well as all pending operations.
|
|
EnqueueOperation ( |
The operation queue is serial: queued operations will be executed one by one.
|
|
LoadFilesToSampleBank ( string filePaths, PathRelativeType pathType, |
Convenience method for loading files asynchronously to a sample bank. This method instantiates, configures and enqueues a AGATLoadingOperation. Use NewOperation if you need more control over progress callbacks.
|
|
LoadFolderToSampleBank ( string folderPath, PathRelativeType pathType, |
Convenience method for loading files asynchronously to a sample bank. All wav and ogg files of the specified folder will be loaded. This method instantiates, configures and enqueues a AGATLoadingOperation. Use the NewOperation method if you need more control over progress callbacks.
|
|
LoadSync ( |
Blocking load of wav and ogg files.
|
|
NewOperation ( int numFilesToLoad, GATDataAllocationMode allocationMode, FileLoadedHandler onFileWasLoaded, bool forceMono = false ) : |
Gets a LoadingOperation object to which you may add files and callbacks. To start the operation, call EnqueueOperation.
|
Méthode | Description | |
---|---|---|
GATAudioLoader ( ) : System.ComponentModel | ||
SetupWorker ( ) : void | ||
bw_Completed ( object sender, |
||
bw_Progress ( object sender, |
||
bw_Work ( object sender, |
public EnqueueOperation ( |
||
operation | ||
Résultat | void |
public LoadFilesToSampleBank ( string filePaths, PathRelativeType pathType, |
||
filePaths | string | |
pathType | PathRelativeType | |
targetBank | ||
allocationMode | GATDataAllocationMode | |
onOperationCompleted | OperationCompletedHandler | |
forceMono | bool | |
Résultat | void |
public LoadFolderToSampleBank ( string folderPath, PathRelativeType pathType, |
||
folderPath | string | |
pathType | PathRelativeType | |
targetBank | ||
allocationMode | GATDataAllocationMode | |
onOperationCompleted | OperationCompletedHandler | |
forceMono | bool | |
Résultat | void |
public LoadSync ( |
||
file | ||
allocationMode | GATDataAllocationMode | |
Résultat | GAudio.GATData[] |
public NewOperation ( int numFilesToLoad, GATDataAllocationMode allocationMode, FileLoadedHandler onFileWasLoaded, bool forceMono = false ) : |
||
numFilesToLoad | int | |
allocationMode | GATDataAllocationMode | |
onFileWasLoaded | FileLoadedHandler | |
forceMono | bool | |
Résultat |