You are just coding around in the Sounds library. Could you, on the fly, add "SeekSound" and "SoundPlaying" to the Sounds-Library? [and no, I'm not to use the movie library for this]
Better now then later, now you are still 'in' this stuff...
These commands just miss and can't be worked around. Would be very sensefull and useful, and would round off the sound system.
Jürgen
[Implemented] A last must for sounds
I would instead suggest (to keep to a certain naming scheme):
SoundSeek() similar to MovieSeek()
SoundStatus() similar to MovieStatus()
SoundLength() similar to MovieLength()
PauseSound() similar to PauseMovie()
ResumeSound() similar to ResumeMovie()
Hopefully these won't be too hard to add Fred?
And then obviously there should be streaming support for OggVorbis,
and also a FLAC sound plugin (also with streaming support obviously).
Obviosly streaming support for Ogg is something I'm hoping for but not expecting anytime soon,
and FLAC will maybe happen some time as it's license and patent free just like Ogg so...
SoundSeek() similar to MovieSeek()
SoundStatus() similar to MovieStatus()
SoundLength() similar to MovieLength()
PauseSound() similar to PauseMovie()
ResumeSound() similar to ResumeMovie()
Hopefully these won't be too hard to add Fred?
And then obviously there should be streaming support for OggVorbis,
and also a FLAC sound plugin (also with streaming support obviously).
Obviosly streaming support for Ogg is something I'm hoping for but not expecting anytime soon,
and FLAC will maybe happen some time as it's license and patent free just like Ogg so...
FLAC decoder for Sound Plugin library
I don't do a lot of audio stuff but FLAC encoder/decoder plugins would be great for PureBasic as it's "lossless" (for higher fidelity) as opposed to lossy OGG and is definitely cross-platform: http://flac.sourceforge.net/download.html