java - Circular Audio Recording -


i wondering if guys have solution this: want record , hold audio buffer of 10 seconds (dosent has 10), 10 last recorded seconds! ex. record ten seconds, first recorded seconds overwritten , new 1 added end! first thougth circular buffer start pointer moves along! problem not circular buffer, problem lies how handle audio samples buffer! bit tricky me understand! , thougths, or need further explonation?

(might bad english, stupid auto correct)

pre thank you!

you can record 2 audio files every ten seconds , reuse last 1 (since have 10 seconds record won't need that). , when user stops record, combine current record have let's 6 seconds last (10-6) seconds of recorded file. can't think of else right now. is, however, tricky implement, believe can done.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -