Hi Philipp, *, On Wed, Mar 28, 2007 at 07:56:30PM +0200, Philipp Lohmann - Sun Germany wrote: > Christian Lohmaier wrote: > > So any hint on how to actually use nas with OOo still would be > > appreciated... > > Looking at the code it seems that as long as you work on a local > display, /dev/dsp or /dev/audio will be used. NAS or rplay will be used > in the case of a remote Xserver.
So I just reask: Has anybody used nasd with any version of OOo? Be it OOo 1.x or 2.x? > Fooling that without patching the code > does not seem easy; it compares the contents of the DISPLAY variable for > all kinds of possibilities whether this might be the server it is > running on. I tried the following: nasd running on 192.168.1.1 (ip belongs to linux box) export DISPLAY=192.168.1.3:0.0 (ip belongs to mac-box) export AUDIOSERVER=192.168.1.1:0 soffice -writer ..Writer starts and displays its windows on the Mac... Tried to play sound from the gallery: Media Player opens, but doesn't play anything. quit OOo, run xterm instead. Xterm opens on the Mac, try auplay /opt/openoffice.org2.2/share/gallery/sounds/gong.wav from within that xterm -> works, plays sound through nas. So what would be a szenario that would use nas? If not in a local network, where only one machine is connected to your HiFi system would you have a use for something like nas? (so basically this is another way to ask: Why is it in the code?) > > And of course any explanation on why OOo requires the JMF for all > > sounds... > > The way using NAS (or rplay, or /dev/*) is what used to be. JMF is the > new way to play sound. Yes, but that new way requires additional steps, requires additional stuff to install and to configure. Not easy for newbies. > JMF was chosen especially because it supports > more formats and is supposed to support more file types in the future. Sure, but OOo ships some wavs in its gallery. Those sound effects surely would be enough for most users to "spice up" their presentations.. > At some point the old vcl Sound class which implements the current > behaviour will be deleted. Looking at LXR there are not that many places > left, so I think we should do that soon and get rid of the now duplicate > code. Hmm - I'd still prefer to play wav files directly, without the need for any external software package. ciao Christian -- NP: Creed - Faceless Man If you send me email before 2007-05-04 and didn't recieve an expected response yet? Please resend your mail - I probably didn't recieve it :-( Mail vor dem 4. Mai 2007 verschickt und noch keine Antwort von mir bekommen? Bitte schick die Mail nochmals, ich habe sie vermutlich nicht erhalten :-( --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
