QUOTE(wysspeter @ Mon Aug 28 2006, 19:53) [snapback]292082[/snapback]
I'm trying to play a wave file using the new sound access API.
But I'm not sure how to do this.
As soon as the call is accepted I call
call.InputDevice(SKYPE4COMLib.TCallIoDeviceType.callIoDeviceTypeFile) = "c:\welcome.wav"
But I always get "Error HRESULT E_FAIL has been returned from a call to a COM component."
Is there anything else I have to set to play the file?
last time i checked it wasn't possible to attach an audio file to skype's audio stream. that's what you want. First of all you need a device not a filename there.
You can, however to that with VAC (virtual audio cable software).
call.InputDevice does something different from what you want. if you have more than one sound card, you can select it by its name (which you can see in cpanel/audio devices) so that the skype's audio input/output can go through that device instead.
I know that there are future plans for what you need...

Cheers!