[futurebasic] OS X 10.7.4 crash

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2012 : Group Archive : Group : All Groups

From: Steve <mactech@...>
Date: Mon, 14 May 2012 10:31:45 -0400
Can someone using OS X 10.7.4 verify that this app crashes when waking their Mac from sleep


Run this program - verify it is running in the Dock as there is no UI

put your Mac to sleep 

wake your Mac 

does it crash for you?



begin globals
dim as Ptr  gSndChannel(3)
end globals

local fn AllocateChannels
'~'1
dim as long   j
dim as OSErr  err

err = _noErr
for j = 0 to 3
Long if ( err == _noErr )
  err = fn SndNewChannel( @gSndChannel(j), _squareWaveSynth, 0, 0 )
End if
next
if ( err ) then shutdown "Could not allocate sound channel " + str$( j ) 

end fn

fn AllocateChannels
 
RunApplicationEventLoop()



thanks


Steve