[Mono-dev] Mono 2.0 problem (is it me though?)

Robert Jordan robertj at gmx.net
Fri Aug 29 18:31:45 EDT 2008


Paul wrote:
> Hi,
> 
>>>      I don't think you want Application.ExecutablePath do you? You'd get
>>> C:\...\test.exenoise.wav
>> after the separator path chr forgeted, i think this class doesn't read
>> all wav, specialy whit "exotic" Hz
> 
> If I change the Application.Excutable path just noise.wav, I still get
> nothing. I've checked the wav (converted from mp3) and there is nothing
> odd about it. Still no sound. Is there a 100% proof way to get a wav to
> play?

The Play() method is async. This means that no sound will hit the
speakers if your application is terminating right after it has
invoked Play().

Try PlaySync() instead. If it still doesn't work, check if ALSA is
correctly installed and working.

Robert



More information about the Mono-devel-list mailing list