Sets the current position of an envelope on a channel.
|handle||The channel handle.
|type||The envelope to set the position of. One of the following.
|pos||The new envelope position, in bytes. If this is beyond the end of the envelope it will be capped or looped, depending on whether the envelope has looping enabled.
If successful, the current position of the envelope is returned, else -1 is returned. Use BASS_ErrorGetCode to get the error code.
|BASS_ERROR_HANDLE||The channel is not plugged into a mixer.
|BASS_ERROR_ILLTYPE||type is not valid.
|BASS_ERROR_NOTAVAIL||There is no envelope of the requested type on the channel.
During playback, the effect of changes are not heard instantaneously, due to buffering. To reduce the delay, use the BASS_CONFIG_BUFFER config option config option to reduce the buffer length.