i am using AVAudioRecorder
to record the iphone input. i need to create a file from the recored every 2 seconds (while recording) without damaging the main file i am recording.
Example:
lets say i am recording a 10 secondes file
------------------
10 Seconds
during the recording i need to create 2 seconds "chunks" ready to be sent over POST request.
-- -- -- -- --
2 2 2 2 2
any head start?
to manage this i found out that i must use apple's Audio Queue Services
which is a c based API. here is a link
this stuff is really cool!