On Thu, May 30, 2019 at 09:07:45PM -0000, Stuart Henderson wrote:
> On 2019-05-30, Hrvoje Popovski <[email protected]> wrote:
> > Hi all,
> >
> > i'm not sure is this intended or not, but if sndiod isn't running and if
> > i want to open youtube video with firefox i got this log
> > firefox[54192]: pledge "tty", syscall 54 and firefox crashes ....
> > when sndiod is running everything seems fine ..
> 
> Similar with chromium's main process and audio.
> 
> Maybe it would be nice if libsndio had an option to say "I'm a pledged
> program, error out instead of trying to talk to the device direct
> and killing the process" ...

I see no reason to not add the "audio" promise to programs using
audio. There are few situations where using the device directly makes
perfectly sense.

Reply via email to