Gentlemen,
A call to setCurrentSource(file.mp3) and then play() will open that file
and hold it open. The file is never closed until the next call to
setCurrentSource() with a different file. There seems to be no way to
UNsetCurrentSource(), or any other simple way to close the file.
I have tried to setCurrentSource() with an empty string, with a newly
created (and invalid) MediaSource, but the original MediaSource remains
intact (and the file remains open) until another valid MediaSource is set.
I'd like to be able to free up the file (for copying or editing, for
example), immediately after playing. The only way I can find to make it
close the file is to discard and reconstruct the MediaObject. That seems
extreme and also takes about 100ms.
By the way, I'm running Windows and using Process Explorer I see that
the file will be open two times. That's hard to understand.
So does anyone know of a way to make it relinquish the file? Or should I
drop this in the suggestion box?
thanks
Jim Thompson
To unsubscribe - send "unsubscribe" in the subject to [EMAIL PROTECTED]