Ah, now I understand our reasoning. It's ChannelGetLevel() that's causing it! Thanks. It's even documented, however they don't mention how I can get the channel's level if I am not allowed to use this function. I need it for my peak meter to work..
Update: some searching reveiled the solution: http://www.un4seen.com/forum/?topic=10113.0