gm@ionic.UUCP (Greg Miller) (08/16/89)
Does anyone know if there are any bugs or undocumented quirks with the audio.device? I've had a problem with it for months that I just can't seem to get rid of. In my code, I queue up about 30 audio requests on three channels, for sequential play (it's a SMUS player for a game). There are points in time where I need to cancel all of the queued requests, because I'm going to be changing songs. This is what I do: - I issue a CMD_RESET, which should clear out all of the queued requests. - I then issue an ADCMD_FINISH, which should halt any currently playing requests, and cancel them as well. Unfortunately, the audio device seems to get 'most' of the requests. It doesn't always seem to get all of them - sometimes missing one, other times missing as many as five. When I start up my next song to be played, those few uncancelled requests from the previous song are played - getting everything out of sync, and making a pretty fair mess. If you have any ideas or suggestions, PLEASE take the time to reply - I've just about given up on things. - Greg -- +---------------------------------------------------------------------------+ | No similarities are intended in the above | Greg Miller | | article to real people; living, dead, or | ionic!gm@sharkey.cc.umich.edu | | walking the earth in ghostly torment. | | | |..!ames!sharkey!ionic!gm | +---------------------------------------------------------------------------+