Update sample for 3D audio and buffer management