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

<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>

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.

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 :-)

Kind regards, pl

--
If you give someone a program, you will frustrate them for a day;
if you teach them how to program, you will frustrate them for a lifetime.
     -- Author unknown

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to