Weird Channel Bug?

BlitzMax Forums/BlitzMax Programming/Weird Channel Bug?

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.

What really confuses me is that in .audio.bmx, PLaySound is this:

Function PlaySound:TChannel( sound:TSound,channel:TChannel=Null )
	Return sound.Play( channel )
End Function


and TSound's Play method is this:
	Method Play:TChannel( alloced_channel:TChannel=Null )
		Return New TChannel
	End Method

All it appears to do is return a channel. So, like where is all the playing code etc, what does it do with alloced_channel? Where is the *real* source? ...