Fixed sounds.

Made debuf functions as static.
Made testproject play sound test.