> As far as I can tell from the GNOME docs > (http://library.gnome.org/devel/libgnome/stable/libgnome-gnome-sound.html) > and the parameter names in the GNOME# API > (http://www.go-mono.com/docs/[EMAIL PROTECTED]), > this GNOME sound API works by connecting to an ESD sound player > daemon. The Init method takes the hostname of this daemon. Normally > I'd expect that you'd use "localhost" for the local machine, unless > you want to play sound over the network :-) > Hence the following probably works: > Gnome.Sound.Init ("localhost"); > Gnome.Sound.Play ("/home/user/test.wav");
I believe it is supposed to be localhost unless the ESPEAKER environment variable is defined. ESPEAKER acts like DISPLAY, except it is for audio. This way users of thin-clients (like LTSP) get their audio locally. I haven't used it from Mono but it works quite well as long as your network isn't choked. A nice behavior would be for Gnome.Sound to default to ESPEAKER or localhost. _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list