Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
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.11.3/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>