FabGL icon indicating copy to clipboard operation
FabGL copied to clipboard

setSampleRate() ignored?

Open HeathenUK opened this issue 2 years ago • 0 comments

Hi there,

Whether in my own code or adjusting your own examples, I can't seem to alter the sample rate the SamplesGenerator uses using the setSampleRate() function.

Everything works perfectly at default 16KHz but if I attach a sample mastered at 8KHz or 22KHz and set its samplerate appropriately, the audio still plays back at 16KHz (i.e too fast or too slow accordingly).

It doesn't seem to make any difference whether I attempt it before or after the attach, enable etc.

Regards,

Greg

HeathenUK avatar Apr 05 '23 22:04 HeathenUK