Playing Audio With Flic
26-Jul-95 06:49:21
Sb: #181774-Playing Audio With Flic
Fm: Malcolm McGennity 100546,1716
To: Brian Rudolph [Adesk] 71722,170
Brian,
Since I posted the last message I've had some progress with the Invalid Sound
problem.
In the [aaplay animation] section of win.ini, I changed the setting
waveaudio=c,19584 to waveaudio=c,522 and ran the application – the audio
plays!! Changing the setting to any other value than 522 results in no audio
and the usual message "The Specified Sound is Invalid".
I've tried this across a range of machines with the same results.
To get some more clues I reinstalled the software and got the following win.ini
entry:
[AAPLAY Animation]
FullScreen=AAVGA.DLL
DualScreen=no
Int2fSwitch=no
After running Animation Player with FLC and WAV combination:
[AAPLAY Animation]
FullScreen=AAVGA.DLL
DualScreen=no
Int2fSwitch=no
ConfigTime=519668693
WaveAudio=c,522
Sequencer=c,523
QTWVideo=x,0
AVIVideo=x,0
CDAudio=s,516
Animation1=x,0
Deleting the "WaveAudio" entry and running my application inserts:
waveaudio=c,19584
in the [AAPLAY Animation] section, and of course gives us the same old problem!
I''ve discovered that the call to:
bResult = aaSound ( hAAFlicAnim, // Animation Handle
NULL, // This is NULL as we asume MCI
extensions have been setup
lpszFlicAudioFile, // Name of the audio file (
*.wav, *.mid )
AA_SNDFREEZE ); // AA_SNDFREEZE prevents the animation
from continuing
// to play while the sound is being
prepared for play.
is what actually inserts this value.
Manually changing it back to 522 and running the application doesn't cause the
setting to be overwritten and the audio plays just fine. It is therefore very
difficult to understand what IS changing this value at certain times.
Any more ideas?
Thanks for your time,
-Donald.