I'm using USB-powered external harddrive for Mp3-files storage and play them with
"Call BASS_ChannelPlay(filehandle, BASSTRUE)". It works just fine, until harddrive "sleeps" after
about a minute being unused and then playing is jammed for a while. Elapsed time will go
back and forward within one second time period and after 10 s it continues normally, when harddrive
is awake again. I'm trying to find a way to solve this problem in a code, how to catch this situation (OK, that can be done by comparing elapsed time every x second time period) and especially, how to recover from it.
Any suggestions??? Well, a timer that refreshes harddrive by scanning directory tree every 30 seconds would probably help, but a simple "Channel-Refresh" command should be fine, is there is any ?