Retrieves a CoreAudio codec encoder's ExtAudioFileRef object.
Namespace: Un4seen.Bass.AddOn.Enc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
[DllImportAttribute("bassenc", CharSet = CharSet.Auto)] public static IntPtr BASS_Encode_GetCARef( int handle )
Parameters
- handle
- Type: SystemInt32
The encoder.
Return Value
Type: IntPtrIf successful, then the encoder's ExtAudioFileRef object is returned, otherwise is returned. Use BASS_ErrorGetCode to get the error code.
Remarks
This function allows those that are familiar with the Extended Audio File Services interface to configure a CoreAudio codec. Configuration changes need to be made before any data is encoded, so the encoder should be created in a paused state (BASS_ENCODE_PAUSE) to ensure that.
ERROR CODE | Description |
---|---|
BASS_ERROR_HANDLE | handle is not valid. |
BASS_ERROR_NOTAVAIL | The encoder is not using a CoreAudio codec. |
See Also