Title: | Multimedia Services |
Notice: | Latest kit is always in hitujr::"/pub/" |
Moderator: | BGSDEV::MORRIS |
Created: | Fri Jul 02 1993 |
Last Modified: | Thu Jun 05 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 505 |
Total number of notes: | 2097 |
I am trying to play a WAVE file continuously (i.e. until waveOutBeakLoop) on the AlphaStation 500/500 under DUNIX (MMERT 2.2). Under Windows 95 all that's required is: audioHdr->hdr.dwFlags = WHDR_BEGINLOOP | WHDR_ENDLOOP; audioHdr->hdr.dwLoops = 0x8FFFFFF; I'm using a single 20K mmeAllocBuffer. However, this seems to crash mmeserver. If I set dwflags = 0, my code plays the sound once just fine. Also, I can't find looping documented in the Programmer's Guide, so I'm going by Microsoft docs. Suggestions? Norm Saunders Fed. Govt. Region Engineering [Posted by WWW Notes gateway]
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
484.1 | DUNIX 4.0a,b? | NETRIX::"[email protected]" | Norm Saunders | Tue Feb 04 1997 11:58 | 15 |
I forgot to mention that this is happening with either DUNIX 4.0a or b. The install warns that it may not work with versions more recent than 4.0. One other thing... Although I supply a callback routine with waveOutWrite because I have to, the routine does nothing, and I am not calling mmeWaitForCallbacks or any other callback routines. I assume this is not the problem, because I can play the sound several times at widely spaced intervals. It's only when I try to loop the sound that I kill mmeserver. thanks for your help! Norm Saunders Fed. Govt. Region Engineering [Posted by WWW Notes gateway] | |||||
484.2 | BGSDEV::MORRIS | Tom Morris - Light & Sound Engineering | Tue Feb 11 1997 21:11 | 6 | |
The reason the flag isn't documented on Unix is because it doesn't exist on Unix. The server crash is a bug however and should be reported through the PTT system. Tom | |||||
484.3 | Bug somewhere | BGSDEV::CDANCY | Chip Dancy | Thu Feb 20 1997 11:49 | 5 |
Your use of dwFlags and dwLoops is correct. They are described in the mmsystem.h file, as well as with the waveOutBreakLoop interface in the Programmer's Guide. Chip |