On 7/21/06, Dan Kegel dank@kegel.com wrote:
On 7/20/06, Yuriy yuriy.kozlov@gmail.com wrote:
Also, I'd like to put in a button to test if sound is working. Is there any software included in wine to play a wav? It needs to be something that would be installed by default when wine is installed, rather than something that's just in the source like the tests in winmm.
That's a very good question. In Windows, you can do this with sndrec32 /play /close "filename.wav" See http://groups.google.com/group/comp.os.ms-windows.win95.misc/msg/07dc7829881... Looks like sndrec32 allows either - or / as the option separator: http://groups.google.com/group/comp.os.ms-windows.win95.misc/msg/95b629a48e8... Wine doesn't have an app like this yet, but it ought to. It'd be easy to write a first cut.
- Dan
Any pointers on where to start, or anybody else who wants to take this up? Writing a sndrec32 program for wine that is. (I have no real experience with C and windows programming) ~Yuriy