Mac Reiter wrote:
>
> Sick and Painful Though-Of-The-Day:
>
> If you can guarantee that the Win32 based server has it's audio recording
> system set up to Record from all output channels, including "Wave Out", I
> have a class that will call a function of your choosing for every N samples
> of audio data. You could then transmit that over the link back to the
> viewer and pump it into the client's Wave Out to hear everything.
>
> This is a relatively large hammer, since I think all you wanted was
> particular events to transmit sound.
But if there is a limited range of sounds, no problem. Then you install
each sound file on the client m/c, in its native format. The server app
then sends a 32bit int, or something similar, to tell the server to play
that sound.
vnc_sounds.h
--------
#define BEEP_WARNING 1
#define BEEP_OPEN 2
...
#define BEEP_HAPPY 432413
//eof
in server app:
..
vnc_say_sound(BEEP_HAPPY);
..
in vncviewer:
..
void vnc_play_sound(uint32 Sound); // locally implemented
You could try something like X font server. So if the client already has
the sound, it can use it, else it downloads it.
--
Simon Dales, Publication Software Engineer
"The impossible is easy"
Nuffield Press Ltd., 21 Nuffield Way, Abingdon, Oxford, OX14 1RL,UK
+44-1235-558637
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------