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. This latency can be reduced via the BASS_ATTRIB_BUFFER attribute.