title: Recording and saving .wav Files with TMediaPlayer (Delphi 2010)
body: <p>well im really new to the delphi world.</p>
  
  <p>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.</p>
  
  <p>Actually it dont event create a file.</p>
  
  <p>I will show some important code parts of my delphi code</p>
  
  <pre><code>if Button = TMPBtnType.btRecord then
  begin
  SaveDialogSpeichern.Execute;
  MediaPlayerSound.FileName := SaveDialogSpeichern.FileName;
  MediaPlayerSound.StartRecording;
  
  end
  </code></pre>
  
  <p>and those for save:</p>
  
  <pre><code>  MediaPlayerSound.Stop;
    MediaPlayerSound.Save;
  </code></pre>
  
  <p>I cant use the bass.dll , so i would like to make this with the TMediaPlayer if there is a possible way</p>