Am Dienstag, den 22.04.2008, 09:04 -0400 schrieb Adam Tauno Williams: > > 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.
Also please note, that the Gnome.Sound API is deprecated and modern systems usually don't use ESD anymore.
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
