#include <cafe.h> #include <cafe/ax.h> void AXSetVoiceSamplesAddr(AXVPB *p, const void *samples);
|p||Pointer to the voice.|
|samples||Pointer to the new buffer containing the input samples.|
Changes the effective base address in
structure of the voice. All existing offsets in the structure are updated so
that they are relative to samples and lead to the same memory addresses that they did before the change.
After the base address is set, all sample offsets for the voice will be relative to this new base address.
2013/05/08 Automated cleanup pass.
2012/08/01 Cleanup Pass.
2012/03/05 Update to Audio API v2.0.