I want to record audio as .wav format and save it to a memory stream with
TMediaPlayer. How to achieve this? Thank you very much!
Best regards.
Xiaoguang
> I want to record audio as .wav format and save it to a
> memory stream with TMediaPlayer. How to achieve this?
TMediaPlayer does not support that. It can only record straight to a file,
which you would then have to load into your stream afterwards. To avoid the
use of a file, you would have to record the audio yourself instead. There
are plenty of third-party components available for working with audio. Look
around.
Gambit
Many thanks for your help.
Best regards.
Xiaoguang