SOLVED - audioTrack class - what is a Frame?
in
Android Processing
•
6 months ago
Hi
Can anyone tell me what a Frame is in the android audioTrack class? I want be able to set loop points & playback head position for a wav file, which I thought would have been done by by setting a sample position in a buffer/array, but the sdk says to use frames...
e.g. public int setPlaybackHeadPosition (int positionInFrames)
What is a Frame & how do they relate to samples?
Cheers
Mark
EDIT: samples IS frames... but I was accessing a byte array so my indexing was wrong. All OK now :)
1