Bass & GME Quick Question ...

BlitzMax Forums/Brucey's Modules/Bass & GME Quick Question ...

mic_pringle(Posted 2010) [#1]
Brucey,

How can I access the channel of the TGMEBASSPlayer when using GME with BASS ?

I would like to use GetLevel like in example01.bmx of the BASS examples, and see that TGMEBASSPlayer has a field called channel of type TBASSChannel yet when I try to do the following ...
local _left:int, _right:int
player.channel.GetLevel(_left, _right)

I get the following error
Compile Error

Identifier 'channel' not found

Yet it's clearly defined at the top of gmebass.bmx
Type TBASSGMEPlayer Extends TGMEPlayer

	Field channel:TBassChannel
	Field playing:Int = False

Any ideas ?

Thanks

-Mic