tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: DECsound for Mosaic audio
@ 1995-01-25 16:07 system
  0 siblings, 0 replies; only message in thread
From: system @ 1995-01-25 16:07 UTC (permalink / raw)
  To: tru64-unix-managers

My origional question was how to make 'decsound' the default for Mosaic audio.

Two solutions were offered.

1)  From George at avrunin@math.umass.edu

I did it with the 2.5b4 beta release of Mosaic.  All I changed was
the stuff in libwww2/HTInit.c starting at line 83 that read 
#if defined(ultrix) || defined(__alpha)
      HTSetPresentation("audio/basic", "aplay %s", 1.0, 3.0, 0.0);
      HTSetPresentation("audio/x-aiff", "aplay %s", 1.0, 3.0, 0.0);
to replace aplay by "/usr/bin/mme/audioplay -filename".  And that
seemed to do the trick.

2)  From Garrett at gvs@jaxom.bxb.dec.com

#
#  Copy this to a file (not named .mailcap) by using the 'Save As Text'
#  feature of your viewer.
#
#
#  Append this file to your ~/.mailcap by :
#       cat <new file name> >> ~/.mailcap
#
#  note: this will create .mailcap if it doesn't exist.
#
#
#  Check to see if there are any conflicts in the MIME types and
#  select one.
#
#
audio/basic;            audioplay -f %s
audio/x-wav;            audioplay -f %s
video/mpeg;             mpegplay %s
video/x-vcr;            grabbag -file %s -loop -play
audio/x-wav;            audioplay -file %s
video/x-videoout;       vidplayout -file %s
application/x-mms;      mms.sh `cat %s`
text/x-tts;             speak -file %s
video/x-softjpeg;       grabbag -loop -play -file %s


I tried Garretts' solution since my Mosaic is an executable version from the
gatekeeper (no source).  What worked for me was to change the references to
'audio' as follows:

audio/basic;            decsound -file %s
audio/x-wav;            decsound -file %s

My version of Multimedia Services is 1.1

Mike Vihel
New Mexico State University

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-01-25 16:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-01-25 16:07 SUMMARY: DECsound for Mosaic audio system

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox