dolik.rce Messages: 1778 Registered: August 2008 Location: Czech Republic
lectus wrote on Thu, 17 January 2013 19:15
Does U++ have any audio playing class?
AFAIK there is only experimental package called Sound in bazaar, see SoundExample package for example usage.
It works thanks plugin/portaudio, which allows access to microphones and reproductors and plugin/wav that lets you play wav files. Other formats were never implemented, but it should be possible with a little bit of work.
You could also use ffmpeg or something similar if you just want to play some file or something. For generating sounds, plugin/portaudio is probably good enough choice. It all depends on what exactly you need