Re: pulseaudio plug/slot

2016-09-26 Thread Spencer Parkin
Thanks to Didier, I got my snap app's audio working in strict mode. I needed to add the "process-control" plug, probably because my application needs to spawn an audio-thread for feeding the audio device. I have a few other app-armor denials that happen, but I'll look at those later when I get th

Re: pulseaudio plug/slot

2016-09-25 Thread Didier Roche
Le 26/09/2016 à 06:27, Spencer Parkin a écrit : > So I did two things to resolve this, I'm not sure if one of them was > necessary, but... > > 1) I changed my app command to "env SDL_AUDIODRIVER=pulseaudio > desktop-launch $SNAP/bin/[myprog]" > 2) I changed the confinement from strict to devmode. >

Re: pulseaudio plug/slot

2016-09-25 Thread Spencer Parkin
Ugh...devmode snaps can't be released on the stable channel. And the devmode snap is probably accessing the outside environment to solve the problem anyway, which defeats the purpose. So I don't know how to solve the problem. If anyone cares to see my crappy snap-app, it is at... https://github

Re: pulseaudio plug/slot

2016-09-25 Thread Spencer Parkin
So I did two things to resolve this, I'm not sure if one of them was necessary, but... 1) I changed my app command to "env SDL_AUDIODRIVER=pulseaudio desktop-launch $SNAP/bin/[myprog]" 2) I changed the confinement from strict to devmode. It's probably the latter that solved the problem. If the s