You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it is possible, but the problem is that PlaySound() cannot stop the sounds individually.
It can stop all the sounds only. Another way is playing only one sound at once. If there is a new call of PlaySound(), stop the old sound.
不具合の内容
最近のVimは
'shell'
をpowershell.exe
やpwsh.exe
にすると各種オプションをよしなに設定してくれますが(:h dos-pwsh
)、その場合sound_playfile()
で音声を再生しようとしても音が鳴らないようです。現象・ログ
'shell'
をpwsh.exe
にした状態で関数を実行すると、0が返り、音声が再生されません。sound_playevent()
関数は正常に音声を再生します。'shell'
を変更しなかった(cmd.exe
のまま)場合は正常に動作します。再現手順
vim --clean --cmd "set shell=pwsh.exe"
:call sound_playfile('C:\fullpath-to-sound.wav')
期待動作
正常に音声を再生することを期待します。
Vimのバージョン
9.0.1553 64bit(wingetでインストール)
:version
OSの種類/ディストリ/バージョン
The text was updated successfully, but these errors were encountered: