Notes |
|
|
I've read the FMOD forums and documentation, and system::setStreamBufferSize might help. The default is 16384 in FMOD_TIMEUNIT_RAWBYTES. Try to boost this. This shouldn't take much more memory.
There is also a memory leak bug that might create this problem (see 0000107) |
|
|
|
I've used the setStreamBufferSize and used 512 * 1024 for value. The application is using 60MB of RAM, which is not too bad considering the application is using the .NET framework.
So far I haven't reproduced the problem with this fix, but I'll leave this bug open for a while because it is hard to reproduce.
Maybe it would be a good idea to add a configurable value in Settings and in the settings file. |
|
|
|
Maybe this is related to frequency/bit rate. 24/96 files seem to skip more than 16/44.
Maybe the buffer should be set higher for bigger files (WAV, FLAC) with higher bitrates?
I've put down the value to 64 * 1024. Setting a too high value might not be better. |
|
|
|
|
|
|
Some of the FLAC files I was testing with (Frank Zappa's Sheik Yerbouti) were badly ripped and I thought the skips were because of the player.
The code has been left untouched for a week and it works perfectly now. Closing the task. |
|