Not recommended to be used by managed applications!
Assembly: Bass.Net (in Bass.Net.dll) Version: 220.127.116.11
[DllImportAttribute("bass")] public static IntPtr BASS_GetDSoundObject( BASSDirectSound dsobject )
<DllImportAttribute("bass">] Public Shared Function BASS_GetDSoundObject ( dsobject As BASSDirectSound ) As IntPtr
- Type: Un4seen.BassBASSDirectSound
The interface to retrieve.
This can be a HMUSIC / HSTREAM / HCHANNEL handle, in which case an IDirectSoundBuffer interface is returned, or one of the following (see BASSDirectSound):
BASS_OBJECT_DS Retrieve the IDirectSound interface. BASS_OBJECT_DS3DL Retrieve the IDirectSound3DListener interface.
Return ValueType: IntPtr
If succesful, then a pointer to the requested object is returned, otherwise is returned. Use BASS_ErrorGetCode to get the error code.
This function allows those that are familiar with DirectSound to access the internal DirectSound object interfaces, so that extra external functionality can be "plugged" into BASS. If you create any objects through a retrieved interface, make sure you release the objects before calling BASS_Free.
See the DirectX SDK for information on the DirectSound interfaces.
When using multiple devices, and requesting either the BASS_OBJECT_DS or BASS_OBJECT_DS3DL object interfaces, the current thread's device setting (as set with BASS_SetDevice(Int32)) determines which device this function call applies to.
|BASS_ERROR_INIT||has not been successfully called.|
|BASS_ERROR_ILLPARAM||dsobject is invalid.|
|BASS_ERROR_NOTAVAIL||The requested object is not available with the current device.|
DirectSound in a Windows thing, so this function is not available on other platforms.