CompuServe Messages

Playing Audio With Flic

    25-Jul-95 11:55:38
Fm: Malcolm McGennity 100546,1716
To: Brian Rudolph [Adesk] 71722,170
Brian, Thanks for your reply. I've managed to find a way round the problem of the shadow image at the end of the animation. As you suggested I paused at the end for some time before displaying a new window containing a graphic image. This, in itself, was not sufficient to erradicate the image shift but allowed me to focus my attention on what the actual fault was. It seems as though the positioning of the origin for a new window in CreateWindow() is the key. If I set the origin to (0,0) at creation, then display this before destroying the FLC window returned by aaGetParm(hAa, AA_ANIMWND), the last frame is visible and does not shift it's position before disappearing and the new window taking it's place. Subsequently, as the new window has a NULL brush, I can reposition it to it's correct coords without any visible glitch. Another clue is that before making the above change, the fault could not be noticed if the display settings were switched from (800 x 600) to (640 x 480). I hope some of that makes sense, I still need to look at it further to fully understand what's going on!! Regarding the "Invalid Sound" problem, I've discovered a rather peculiar querk as to it's presence. Before changing the display settings to remedy the image shift behaviour, the application had always run on my machine without any errors. As soon as I made the change – IT'S BACK – and what's more, I can't ged rid of it! Of course, it could be purely coincidental, but the fact that the WIN.INI file is being written to has some relevance in light of the suggestion you had about some of the settings in that file. Here are my aaplay animation settings: [AAPLAY Animation] WaveAudio=c,19584 Sequencer=c,523 QTWVideo=x,0 AVIVideo=x,0 FullScreen=AAVGA.DLL DualScreen=no Int2fSwitch=no ConfigTime=519665231 CDAudio=s,516 Animation1=x,0 What do the settings "c,19584" pertain to? The soundcard is a Creative Soundblaster 16MultiCD with "Wave=sb16snd.drv" set in the [drivers] section of system.ini. – Donald.