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
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.
>
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
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