**EDIT** I'VE FIXED THIS ISSUE NOW, THANKS.
Hello. Firstly, great set of components, excellent work.
Now to my problem. I am using TLiveAudioRecorder to capture sound from the system, then process this with lame_enc.dll and send the resulting mp3 data to a shoutcast server. This all works fine except when I try to deactivate the TLiveAudioRecorder component. When I set Active to False, the program crashes with an invalid pointer operation in the function ReallocateBuffer() in WaveIn.pas. I am making sure I set FreeIt to True in the OnData event, maybe pWaveHeader becomes a dangling pointer upon setting TLiveAudioRecorder.Active to False, so ReallocateBuffer thinks it isn't nil? I don't know. I make sure to use WaitForStop after deactivating also. I'm using 2 buffers, with varying BufferLength's depending on the bitrate & samplerate I need to work with. Async set to false, still crashes if set to true.
I am running Delphi 7.0 with Wave Audio Package v1.602 in Windows XP SP2.
Any ideas?
Thanks.