Assembly: Bass.Net (in Bass.Net.dll) Version: 18.104.22.168
public bool RemoveVolumePoint( long position )
Public Function RemoveVolumePoint ( position As Long ) As Boolean
public: bool RemoveVolumePoint( long long position )
member RemoveVolumePoint : position : int64 -> bool
- Type: SystemInt64
The position (in bytes) of the volume point to remove.
Return ValueType: Boolean
, if the volume point was removed successfully, else .
In order to remove a volume point use the ClearAllVolumePoints methods.or
Before adding a volume point the Wave buffer must have been created. So make sure this method is only called after WaveFormLoadFromFile(String), RenderStartRecording(Int32, Int32, Int32) or RenderStart(Int32, Boolean).
If your rendering method and your playback stream used different flags during creation (e.g. rendering was done using the BASS_DEFAULT flag whereas your playback stream uses BASS_SAMPLE_FLOAT) adding volume points might result in a different position, meaning the position would reflect a different value during playback. In such case call the SyncPlayback(Int32) method to ensure, that the position will be converted accordingly.
Note: The byte position will be converted to the original rendering resolution according the SyncPlayback(Int32). So if your playback stream has a different resolution never add volume points without first calling SyncPlayback(Int32).