void Sound::SetVolume(const ValueList& args, KValueRef result) { args.VerifyException("setVolume", "n"); double volume = args.GetDouble(0); this->SetVolume(volume); }