import { sound_stop } from "https://deno.land/x/denops_std@v4.1.4/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