Re: seeking in sound-lib
You want the position property on your sound_lib channel, self.handle.
pos = self.handle.position
# and to set later
self.handle.position = pos
Note that pos will be a number in bytes. This makes sense, since the duration as represented by time can change easily for a host of reasons.
In many instances though, it can be helpful to see the actual time. self.handle.bytes_to_seconds and self.handle.seconds_to_bytes does exactly what it sounds like.
HTH
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector