Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/denops_std/function/vim/mod.ts>sound_stop

📚 Standard module for denops.vim
Go to Latest
function sound_stop
import { sound_stop } from "https://deno.land/x/denops_std@v3.8.1/function/vim/mod.ts";

Stop playing sound {id}. {id} must be previously returned by sound_playevent() or sound_playfile(). On MS-Windows, this does not work for event sound started by sound_playevent(). To stop event sounds, use sound_clear(). Can also be used as a |method|: soundid->sound_stop() {only available when compiled with the |+sound| feature}

Parameters

denops: Denops
id: unknown

Returns

Promise<unknown>