audio - Record/capture internal sound playback of Android app and export mp3? -
is possible record internal sound generated app?
my app allows create , play musical sequences.
soundpool.play(soundids[i], 1f, 1f, 1, 0, constants.time_rate);
i'd able record sequence , export mp3.
i've looked audio capture setaudiosource (int audio_source) seems accept mic recording.
thanks
no, there's no api getting audio output, own app (actually that's not entirely true, because can through visualizer
api, of such low quality doubt of use you).
if want kind of functionality you'll have implement yourself. is; start playback of sounds, mix them , write result file well. if sounds compressed you'll have take case of decoding them yourself.
note there's no mp3 encoder included android, you'd have supply own mp3 encoder anyway if that's format want export in.
Comments
Post a Comment