-1

I am new to android and Superpowered. I was able to get the Superpowered CrossExample to work in Android. However I am unable to save the final output to a file. After processing the two players, is it possible to save the output buffer to a file? Can someone please help?

Shruthi
  • 293
  • 1
  • 3
  • 11

1 Answers1

0

Use the SuperpoweredRecorder class. An example is available in the Examples_Windows folder. Check mainpage.xaml.cpp, understand and use the few lines of code there.

Gabor Szanto
  • 1,329
  • 8
  • 12
  • Thank you! That is very helpful. – Shruthi Feb 20 '18 at 02:21
  • I added the recorder->start(destinationPath) and recorder->stop() based on toggle button click. I see that there is a file created but when I try to play it, there is no sound. – Shruthi Feb 20 '18 at 04:29
  • I found the solution. recorder->start(path) had to be called before initializing the audioIO. – Shruthi Feb 20 '18 at 12:04