Kazunobu Kuriyama wrote:
> On Mon, Jun 10, 2019 at 9:32 AM Yee Cheng Chin <[email protected]> > wrote: > > > On Sunday, June 9, 2019 at 6:36:02 AM UTC-7, Bram Moolenaar wrote: > > > > > Patch 8.1.1502 > > > > > Problem: Cannot play any sound. > > > > > Solution: Use libcanberra if available. Add sound functions. > > > > > > > > Thanks for this. Personally, I really welcome this feature and I am > > > > looking forward to hearing Vim tick-tick-tick-claaang when I type. > > > > I have built patch 1505 with +sound under macOS, but I can’t hear any > > > > sound: sound_playfile() returns 0. Is that expected at this point? > > > > > > The current implementation only works for Linux and other systems that > > > have libcanberra-dev. I hope someone else can make an implementation > > > for Mac and MS-Windows. > > > > MacVim maintainer here. I could try to add this to my backlog to add to > > Vim if no one else signs up to do this but may need some investigation > > first. > > > > > If we don't care about both supporting sound for very old versions of macOS > (10.1--10.4) and Objective-C programming, an implementation using Core > Audio ( > https://developer.apple.com/library/archive/documentation/MusicAudio/Conceptual/CoreAudioOverview/Introduction/Introduction.html#//apple_ref/doc/uid/TP40003577-CH1-SW1 > ) appears to be a good choice. Something that works without installing extra libraries would be ideal. But it looks like canberra is available: http://macappstore.org/libcanberra/ -- I wish there was a knob on the TV to turn up the intelligence. There's a knob called "brightness", but it doesn't seem to work. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/201906101210.x5ACAhRS017995%40masaka.moolenaar.net. For more options, visit https://groups.google.com/d/optout.
