Help - Search - Members - Calendar
Full Version: Sound Access API
Skype Community > English > Development, Betas and Skype Garage > Public API
wysspeter
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?
blindfolded
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...smile.png

Cheers!

bertouta
Hi there,

Beta developer notes for the Skype API 2.6 released yesterday with all the information about Audio Access API.

Please visit : https://developer.skype.com/Docs/DevNotes

Regards,

Antoine
erwinpogz
Hello there,

So what does SKYPE4COMLib.TCallIoDeviceType.callIoDeviceTypeFile do?

Is it possible to save audio stream to file?
Is it possible to read audio file then put it into stream?

If yes, how can we do it?

Best regards,
Erwin
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.