Hello,
I am trying to use the Soundpool. This seems to be better for my purposes since there does not seem to be a delay (or hickup) between wav repetitions when repeating indefinitely.
There seems to be a delay after loading a wav before it is ready to play. if I set a breakpoint after calling Load, creating a pause of several seconds before I execute Play, it works. If I don't introduce this delay, I receive a Play ID of 0 signifying it failed.
I see in the Android documentation there is a "Load Complete" callback. There does not seem to be the equivalent event in the B4A Soundpool library. This is an important feature.
Is there any way to add that event? I am wondering, as a registered user, if the source code for the library functions is available? If so, I would be willing to add that functionality.
Thanks,
Barry.
I am trying to use the Soundpool. This seems to be better for my purposes since there does not seem to be a delay (or hickup) between wav repetitions when repeating indefinitely.
There seems to be a delay after loading a wav before it is ready to play. if I set a breakpoint after calling Load, creating a pause of several seconds before I execute Play, it works. If I don't introduce this delay, I receive a Play ID of 0 signifying it failed.
I see in the Android documentation there is a "Load Complete" callback. There does not seem to be the equivalent event in the B4A Soundpool library. This is an important feature.
Is there any way to add that event? I am wondering, as a registered user, if the source code for the library functions is available? If so, I would be willing to add that functionality.
Thanks,
Barry.