• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to achieve pause and resume functionality in Audio Recording

 
Snehitha Prasad
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can anyone explain how to achieve pause and resume functionality while recording in android application.

Thanks,
SNEHITHAPRASAD
 
Karthik Shiraly
Bartender
Posts: 1210
25
Android C++ Java Linux PHP Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're using AudioRecord API to get the audio and dumping it verbatim into a file, then it's just raw PCM format. So for resuming the recording, you just have to append new data to the same file.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!