Re: [DirectPython] DirectSound
Status: Inactive
Brought to you by:
hsalo
From: Heikki S. <ho...@gm...> - 2007-02-21 13:40:31
|
_____ From: dir...@li... [mailto:dir...@li...] On Behalf Of Paul Holmberg Sent: 21. helmikuuta 2007 2:27 To: dir...@li... Subject: [DirectPython] DirectSound Hi all, I am interesting in using DirectPython as an interface to DirectSound, the end goal being to be able to stream and capture audio in real time using DirectSound as the sound card interface from python. While DirectPython looks promising it appears that the DirectSound interface actually has very little support. Is there something I have missed? And if not then is support for this planned for the near future? Thanks, Paul Holmberg DirectPython's support for DirectSound is pretty basic and there are no major plans to extend it. The primary purpose of DirectSound is to play sounds efficiently, altough it can be used to capture sounds. The biggest problem is that the DirectSound API itself has not been updated in a long time and it can be deprecated somewhere in the future. DirectMusic (a DirectSound "wrapper") has been alredy removed from the DirectX SDK and altough DirectSound is a pretty good library, it's future is questionable. Windows Vista already dropped some support and Microsoft has provided some alternatives like XACT. In short, there are other libraries which are better suited for sound processing. As a last resort it is possible to use ctypes or comtypes to directly call the API altough this can be difficult if you don't have any previous experience with them. -- Heikki Salo |