Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Audio questions for the Decstations and Alphas
@ 1994-07-07 21:17 Jean-Emile Elien
  1994-07-20  5:41 ` Tom Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Emile Elien @ 1994-07-07 21:17 UTC (permalink / raw)



Has anyone written audio code for the alpha or decstation?  I'm trying to
close and open an output port several times from the same process.  This
works for a couple of tries, then the mmeserver dies, and no audio software
works at all.  Any suggestions as to why it dies.. ? Is it a bad thing that
I'm openning (and closing) an output port several times from the same
process?  I don't see that as making a difference, but my program is the only
one that seems to have this problem. all of the others opens the port once,
closes it, and exits. Since my programdoes more than just play sound, I don't
feel the port should be open all of the time.  What should I do?

For the decstations, I'm using some code given to me labelled 'lofi'.  It
works, but again, after opening and closing the port twice, the hardware
stops responding.  I close the application and open it again, and it works
fine.. for two tries.

If this is the wrong group to post this message, please point me in the right
direction, thank you.

Jean-Emile Elien
jee_hbm@media.mit.edu


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Audio questions for the Decstations and Alphas
  1994-07-07 21:17 Audio questions for the Decstations and Alphas Jean-Emile Elien
@ 1994-07-20  5:41 ` Tom Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Morris @ 1994-07-20  5:41 UTC (permalink / raw)



In article <JEE_HBM.94Jul7171748@toxicwaste.mit.edu>, jee_hbm@athena.mit.edu
(Jean-Emile Elien) writes:

|>Has anyone written audio code for the alpha or decstation?  I'm trying to
|>close and open an output port several times from the same process.  This
|>works for a couple of tries, then the mmeserver dies, and no audio software
|>works at all.  Any suggestions as to why it dies.. ? Is it a bad thing that
|>I'm openning (and closing) an output port several times from the same
|>process?  

Any time the mmeserver dies, it indicates a bug in Multimedia Services for
OSF/1.  If you mail me some more details like the version that you are using,
the version of OSF/1, etc, I'll have a look at the problem.  If you've
got a small program that reproduces the problem, the sources for that would
be useful too.

|> Since my program does more than just play sound, I don't
|>feel the port should be open all of the time.  What should I do?

Multimedia Services will do mixing of multiple audio streams, so there's
really no need to close the audio device.  Leaving it open won't use up
any resources or block anyone elses access (be sure to set the 
WAVE_OPEN_SHAREABLE flag when you open it however).

|>For the decstations, I'm using some code given to me labelled 'lofi'.  It
|>works, but again, after opening and closing the port twice, the hardware
|>stops responding.  I close the application and open it again, and it works
|>fine.. for two tries.

This sounds like your are using AF which was produced by one of our
research groups.  It isn't an officially supported product, but there's
a mailing list which can probably help answer your questions.  You can
subscribe by sending mail to af-request@crl.dec.com.

AF also supports mixing of audio streams, so, again, closing and reopening
the audio device is unnecessary, but should work.

The latest version of Multimedia Services for OSF/1 is V1.2 and the
lastest release of AF is AF3R1.  If you have earlier versions installed,
it would be worth upgrading to see if that fixes your problems.
 
---------------------------------------------------------------------------
Tom Morris                                   Digital Equipment Corporation
morris@zko.dec.com                           110 Spit Brook Road  ZKO1-1/E37
+1 603 881 0894                              Nashua, NH, 03062     USA



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-07-20  5:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-07-07 21:17 Audio questions for the Decstations and Alphas Jean-Emile Elien
1994-07-20  5:41 ` Tom Morris

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