The aplay command doesn't work
Bug #1598309 reported by
Bruno Nova
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Fix Released
|
Medium
|
Jamie Strandboge |
Bug Description
Running the "aplay" command inside a snap with the pulseaudio interface and the "alsa-utils" package bundled doesn't work, even with snapd 2.0.10.
It throws this error:
ALSA lib conf.c:
ALSA lib pcm.c:2266:
aplay: main:722: audio open error: No such file or directory
Maybe an "alsa" interface is needed, or the "pulseaudio" interface needs to grant access to more things.
tags: | added: xenial |
tags: | added: snapd-interface |
Changed in snapd (Ubuntu): | |
importance: | Undecided → Medium |
Changed in snapd (Ubuntu): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
status: | Confirmed → In Progress |
To post a comment you must log in.
did you try shipping libasound2-data in your stage-packages and set ALSA_CONFIG_PATH [1] in a wrapper ? alsa/alsa. conf is a generic file, you do not necessarily need to access the one from the host machine.
/usr/share/
[1] http:// www.alsa- project. org/main/ index.php/ LibEnvVars