E
ew75
I'm writing an application to play a large WAV file (say a couple
hundred of megs), and allow the user to jump to / select a position in
the file (e.g. 120 seconds into it) to start playback. The "skip"
method of AudioInputStream always seems to return the value "4096",
meaning it skipped 4K, no matter how far I actually tell it to skip.
While a "Clip" would seem to be the ideal method, it doesn't support
large files (over 5 meg?).
Anybody else do something similar and want to share some advice? Or
have any idea why "skip" doesn't skip to where I want it?
hundred of megs), and allow the user to jump to / select a position in
the file (e.g. 120 seconds into it) to start playback. The "skip"
method of AudioInputStream always seems to return the value "4096",
meaning it skipped 4K, no matter how far I actually tell it to skip.
While a "Clip" would seem to be the ideal method, it doesn't support
large files (over 5 meg?).
Anybody else do something similar and want to share some advice? Or
have any idea why "skip" doesn't skip to where I want it?