From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,68f093506dab3da8 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-07-19 22:50:27 PST Path: nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!agate!ihnp4.ucsd.edu!ames!decwrl!pa.dec.com!jac.zko.dec.com!voile.zko.dec.com!morris From: morris@voile.zko.dec.com (Tom Morris) Newsgroups: comp.sys.dec Subject: Re: Audio questions for the Decstations and Alphas Date: 20 Jul 1994 05:41:18 GMT Organization: Digital Equipment Corp. Distribution: world Message-ID: <30iddu$gdv@jac.zko.dec.com> References: Reply-To: morris@zko.dec.com NNTP-Posting-Host: voile.zko.dec.com X-Newsreader: mxrn 6.18-6 In article , 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