Skip to main content
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@v6.4.0/function/vim/mod.ts";

Stop playing sound {id}. {id} must be previously returned by sound_playevent() or sound_playfile().

On some Linux systems you may need the libcanberra-pulse package, otherwise sound may not stop.

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<void>