How to use de buffer of LiveAudioRecorder?

Please discuss general Delphi programming topics here.

How to use de buffer of LiveAudioRecorder?

Postby kokorini » January 5th, 2009, 12:54 pm

First of all: Thank you very much for all, the components and for reading this.

I need to analize in real time the microphone input. I think I have to use the OnData event.

witch is:
procedure TForm1.LiveAudioRecorder1Data(Sender: TObject; const Buffer: Pointer;
BufferSize: Cardinal; var FreeIt: Boolean);

the data itself I understand is the parameter called "Buffer" witch is a pointer, but how can I get the content?
for example if you want to make an oscilloscope using the famous fft.

thank you very much!
Posts: 1
Joined: January 2nd, 2009, 8:34 pm

Re: How to use de buffer of LiveAudioRecorder?

Postby Kambiz » January 5th, 2009, 6:21 pm

The data depends on the wave format you are using.
For PCM format, you can find some information at
User avatar
Posts: 2430
Joined: March 7th, 2003, 7:10 pm

Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 5 guests