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.
> >
> > --
> > Why is it called "Windows"?  "Gates" would be more appropriate...
> >
> >  /// 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
> ///
>
> 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.

-- 
> --
> 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/5de564db-a8b1-4c0b-9afd-0789295a78a8%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
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/CAGeapphr0OybU08x1W3NiHSaCjKoUxhck-3-%3Dz%3DvVKMZY%2Bk8%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui