Listen with openAL

BlitzMax Forums/BlitzMax Programming/Listen with openAL

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Ok. My new isSound method for MONO16LE format:
'mono16le format
Method isSound%(samplesbank:TBank)
	Local sound%
	For Local i% = 0 To BankSize(samplesbank) Step 8
		sound = SignedShort(PeekShort(samplesbank, i))
		If Abs(sound) > 500 Then Return True
	Next
	Return False
End Method


Now I only have to figure out how to do the SaveAudioSample()