Modifications on 3D sound implementation

Not compilable.