Skip to content Skip to sidebar Skip to footer

Recording Audio And Playing Audio At The Same Time

In my application i am recording input from the microphone and at a certain point i am playing a sound (while the recording is still going). Now the recorder 'stops' to record (mre

Solution 1:

Try using the native basic player and recorder ... These are accessible thorough AudioTrack class and other related apis like audio format. Using them you can record and play pcm audio data in chunks or buffer (explicit byte arrays) and use a loop to write the buffer to Anything you want. May be that would allow to do recoding and playing simultaneously

Good luck

Post a Comment for "Recording Audio And Playing Audio At The Same Time"