Assembly: Bass.Net (in Bass.Net.dll) Version: 188.8.131.52
public bool RemoveVolumePoint( double position )
Public Function RemoveVolumePoint ( position As Double ) As Boolean
- Type: SystemDouble
The position (in seconds) of the volume point to remove.
Return ValueType: Boolean
, if the volume point was removed successfully, else .
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).