Update AMLPlayer.cpp

Pointers are smart pointers. But in some cases it doesn't compile right. Hence adding the .get() function fixing compiling errors you get from git now