Page 1 of 1

WA + Telephony = great

PostPosted: January 28th, 2004, 7:23 pm
by feeder
First, congratulations for such fine job. Very clean.

I'm using the components in a test IVR app with a voice modem, just need to set DeviceID to the proper value of the voice modem multimedia device.

I'm playing voice messages and recording receiver's voice.

I'll post some minor issues I'm having. Feel free to ask me about telephony apps and I'll contribute my little knowledge.

God bless free component writers!

PostPosted: January 29th, 2004, 1:16 pm
by Kambiz
I'm glad to hear that you have found WA useful.

I initially wrote WA to use it in my telephony application. I hope it can do its task properly in your application too. :cf:

TStockAudioPlayer.PlayFile() issue

PostPosted: February 3rd, 2004, 6:27 am
by feeder
Dear Kambiz:

Sometimes I get a 'Out of memory' error when calling PlayFile() method, I've tracked it a little and I think it is a TFileStream.Create() exception but I don't understand why this is happening just sometimes if I do have memory available and it is a small file.

function TStockAudioPlayer.PlayFile(const FileName: String): Boolean;
begin
Result := InternalPlay(TFileStream.Create(FileName, fmOpenRead or fmShareDenyWrite), True);
end;

I thiPlease give me some light because if I solve this one I'll make your components very usefull for my country.

Thanks for your time

PostPosted: February 5th, 2004, 12:12 pm
by Kambiz
I checked the method out with large wave files (> 1MB), and no exception raised.

PostPosted: February 20th, 2004, 9:32 pm
by feeder
Thanks for doing it, it must be something I'm doing wrong.