On Mon, May 07, 2007 at 11:35:40AM +0200, Philipp Lohmann wrote: > Christian Lohmaier wrote: > >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. > > A sure sign that it tries to use JMF but doesn't find one. I'd recommend > using a sound effect as Thorsten described (assign an effect including a > sound in the presentation and try out the sound dialog
Well, if it doesn't work for everything, then there's even less use for it. > <quote> > Another place is Impress: assign an object effect to a shape. Open the > effect options dialog (the three dots button on the custom animation > pane). Choose the last entry (other sound) from the Sound > dropdown. You should then see the SoundFileDialog, which has a play > button, which in turn uses vcl`s Sound class to play that sound. > </quote> That is somewhat different, since that preview dialog plays sound on its own, different to the rest of the office. So even when it would work in that dialog, then still nas would be of no use. (But I tried and it indeed works with that dialog - Hooray, I found a way to test whether nas-support works in a build or not) To sum up: You can use nas to play a preview, but for nothing else. Since the preview button is only available when using the OOo-filedialogs and furthermore that dialog is quite hidden, this feature is pretty useless :-/ > Moreover the decision whether to access a remote sound server at all is > whether the DISPLAY is local, not AUDIOSERVER; the assumption is of > course that the sound server is the same as the Xserver. Well, the display was a remote one in that case.... > >>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. > > NAS is an external software package, too. OTOH it's certainly slimmer > than JMF :-) Nah, that's two different things :-) The above mentioned preview dialog can play sound on its own, without the need for a JMF (and without the need for nas when local display) (only OOo's filedialog provides the play button) But this only works in that preview dialog, not when running the slideshow. That's why I wondered whether OOo requires anything external at all, since obviously the code to play at least wav files is still inside the office and working. So the question is: Why require an external tool at all and not use the code that plays the sound (in the preview dialog) throughout the office? ciao Christian -- NP: Limp Bizkit - Livin' It Up 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]
