<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">El 11 ago 2016, a las 7:37, Howy Wang <<a href="mailto:howy.wang@canonical.com" class="">howy.wang@canonical.com</a>> escribió:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_extra">Hi there,</div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">I made a snap, javagame and it works well.</div><div class="gmail_extra">Now the snap upload for javagame.howy to the Ubuntu Store has been approved.</div><div class="gmail_extra"><div class="">But I found something wrong with audio, the following is the wrong message during running the snap.<br class=""></div></div></div></div></div></blockquote><div><br class=""></div><div>Do you see any denials in the system log? You can check for them using journalctl -f when you start the game.</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_extra"><br class=""></div><div class="gmail_extra"><b class="">[MUSIC][11:39:29] Playing song: Towards The End</b></div><div class="gmail_extra"><b class="">[ERROR][11:39:29] Problem playing file sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream@61ab49d</b></div><div class="gmail_extra"><b class="">[ERROR][11:39:29]javazoom.jl.decoder.JavaLayerException: Cannot create AudioDevice</b></div><div class="gmail_extra"><b class="">[MUSIC][11:39:29] Playing song: yoshi song</b></div><div class="gmail_extra"><b class="">[ERROR][11:39:29] Problem playing file sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream@35104da8</b></div><div class="gmail_extra"><b class="">[ERROR][11:39:29]javazoom.jl.decoder.JavaLayerException: Cannot create AudioDevice</b></div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">I have checked my snapcraft.yaml has "plugs" with pulseaudio and "$ snap interfaces" has ":pulseaudio javagame:, too.</div><div class="gmail_extra">This is the $ snap interfaces </div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">howy@howy-Vostro-14-5480:~/examples/java$ snap interfaces </div><div class="gmail_extra">Slot Plug</div><div class="gmail_extra">:camera -</div><div class="gmail_extra">:cups-control -</div><div class="gmail_extra">:firewall-control -</div><div class="gmail_extra">:gsettings -</div><div class="gmail_extra">:hardware-observe -</div><div class="gmail_extra">:home atom-cwayne,javagame,jtiledownloader,openjdk-demo,qtclocks,wallpaperdownloader</div><div class="gmail_extra">:locale-control -</div><div class="gmail_extra">:log-observe snappy-debug</div><div class="gmail_extra">:modem-manager -</div><div class="gmail_extra">:mount-observe -</div><div class="gmail_extra">:network jtiledownloader,openjdk-demo</div><div class="gmail_extra">:network-bind javagame,jtiledownloader,wallpaperdownloader</div><div class="gmail_extra">:network-control -</div><div class="gmail_extra">:network-manager -</div><div class="gmail_extra">:network-observe -</div><div class="gmail_extra">:opengl game-2048</div><div class="gmail_extra">:optical-drive -</div><div class="gmail_extra">:ppp -</div><div class="gmail_extra">:pulseaudio javagame</div><div class="gmail_extra">:snapd-control -</div><div class="gmail_extra">:system-observe -</div><div class="gmail_extra">:timeserver-control -</div><div class="gmail_extra">:timezone-control -</div><div class="gmail_extra">:unity7 game-2048,openjdk-demo,qtclocks</div><div class="gmail_extra">:x11 game-2048,javagame,jtiledownloader,qtclocks,wallpaperdownloader</div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">Any suggestions or examples can help to solve audio issue? </div><div class="gmail_extra">Thank you.<br class=""></div><div class=""><br class=""></div>
</div></div>
-- <br class="">Snapcraft mailing list<br class=""><a href="mailto:Snapcraft@lists.snapcraft.io" class="">Snapcraft@lists.snapcraft.io</a><br class="">Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft<br class=""></div></blockquote></div><br class=""></body></html>