How do I create wxSound from wave data (instead of from a file)

In wxPython 2.4, there was a wxWaveData class which could be initialized from wave data alread in memory. Now that wxSound has replaced wxWave in 2.5, how do I do the equivalent? I have an external application which supplies wave data from speech input in memory, rather than writing it to a file.

David

David C. Fox wrote:

In wxPython 2.4, there was a wxWaveData class which could be initialized from wave data alread in memory. Now that wxSound has replaced wxWave in 2.5, how do I do the equivalent? I have an external application which supplies wave data from speech input in memory, rather than writing it to a file.

There is an overloaded constructor for it, but it looks like I screwed
up the typemap for it. I'll get it fixed for the next release.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!