Retrieves a copy of a sample's data.
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
[DllImportAttribute("bass")] public static bool BASS_SampleGetData( int handle, IntPtr buffer )
Parameters
- handle
- Type: SystemInt32
The sample handle. - buffer
- Type: SystemIntPtr
Pointer to a buffer to receive the data.
Return Value
Type: BooleanIf successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks
ERROR CODE | Description |
---|---|
BASS_ERROR_HANDLE | handle is not valid. |
BASS_ERROR_UNKNOWN | Some other mystery problem! |
See Also