Dear Shane,
I have a strange effect with PlayForeground() function. Inside a loop I
have this code:
beep500 <- MakeSineWave(300+pointsadded*10, 500, 0.7)
if(IsAudioOut(beep500))
{
PlayForeground(beep500)
Print("beep ="+pointsadded)
}
which make a 500 ms beep at a frequency 350Hz<f<1300Hz, since
5<pointsadded<100 are the points that the player win. And the first time
I call the loop it works properly and the audio is clear and loud. But
then second time I call the same loop, there is no audio output,
although I get in the stdout.txt:
...
using preloaded sound spec
beep =5
...
using preloaded sound spec
beep =100
...
so that I am sure that PlayForeground(beep500) was called as in the
first loop and if I comment out the call of the first loop, I hear again
the audio in the second loop!
Some ideas on this strange behavior?
Cheers,
Giuseppe
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Pebl-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pebl-list