Right parameters for 3D Audio

Thanks for your reply.
So I translated the code to c++. This is the result:

	LVector3f fw = window->get_render().get_relative_vector(camera, LVector3f::forward());  
	LVector3f up = window->get_render().get_relative_vector(camera, LVector3f::up());
	LVector3f vel = (0,0,0);
	LVector3f pos = camera.get_pos();

	AM->audio_3d_set_listener_attributes(pos[0],pos[1],pos[2],
								  		 vel[0],vel[1],vel[2],
								 		  fw[0], fw[1], fw[2],
										  up[0], up[1], up[2]);
	LPoint3f pandapos = pandaActor.get_pos();
	bgsound->set_3d_attributes(pandapos[0],pandapos[1],pandapos[2],0,0,0);
AM->update();

Unfortunately it has no effect on the program whatsoever. The sound is still loud when the panda is at zero point and softens as it moves away. Altough the values I’m getting for the forward, up and positionvector seem to be correct.

Edit:
It’s like none of my actions do anything. Even when I type in nonsene for the positionvalue of the listener, it has no effect.
I printed out the listener_attributes of the Audiomanager via AM->audio_3d_get_listener_attributes(…) because i thought maybe the set-function doesnt work properly but the values I got correspond with the actual values of the cameras position, lookat, etc.