Hello people,
well im really new to the delphi world.
Right now im using the TMediaPlayer to record some sound and save those. I made a click event for the record button in the TMediaPlayer which executes a SaveFileDialog. The user should type in some filename he would like to save and then after recording the .wav file he can click on the stop button and it will save his recorded .wav file.
Actually it dont event create a file.
I will show some important code parts of my delphi code
if Button = TMPBtnType.btRecord then
begin
SaveDialogSpeichern.Execute;
MediaPlayerSound.FileName := SaveDialogSpeichern.FileName;
MediaPlayerSound.StartRecording;
end
and those for save:
MediaPlayerSound.Stop;
MediaPlayerSound.Save;
I cant use the bass.dll , so i would like to make this with the TMediaPlayer if there is a possible way