0

I want to capture soundcard data.Means whatever playing on phone.It may be alert sounds,sound from sound etc,whatever sound is coming from device.I want to capture sound with android framework classes only.I dont want any native programming.Is it possible?If other tools are available plz provide me details.

WSS
  • 503
  • 5
  • 20

1 Answers1

0

If the device is in speakerphone mode, you can record via the microphone and it will pick up whatever the device is playing, along with any other ambient sounds. Use AudioRecord or MediaRecorder as you see fit.

If the device is not in speakerphone mode, you have no means of intercepting the audio output of other applications.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491