[Pkg-alsa-devel] Bug#913045: libasound2: ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave

Ryan Lue ryan.lue at gmail.com
Tue Nov 6 10:51:12 GMT 2018


Package: libasound2
Version: 1.1.7-1
Severity: important

Dear Maintainer,

Please forgive my lack of familiarity with ALSA.

I use sox in a script to play an mp3 via STDIN, using the
AUDIODRIVER=alsa environment variable. Since upgrading libasound2 from
1.1.6-1 to 1.1.7-1 this morning, the script now gives the following
error:

    ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
    play FAIL formats: can’t open output file `default’: snd_pcm_open error: No such file or directory

I ran speaker-test to try to isolate the problem. The output is below:

    speaker-test 1.1.6
    
    Playback device is default
    Stream parameters are 48000Hz, S16_LE, 1 channels
    Using 16 octaves of pink noise
    ALSA lib pcm_dmix.c:1099:(snd_pcm_dmix_open) unable to open slave
    Playback open error: -2,No such file or directory

Sound works throughout the rest of the system – I assume via PulseAudio?

I’m happy to provide any other information to help diagnose the problem.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libasound2 depends on:
ii  libasound2-data  1.1.7-1
ii  libc6            2.27-8

libasound2 recommends no packages.

Versions of packages libasound2 suggests:
ii  libasound2-plugins  1.1.6-1+b1

-- no debconf information


More information about the Pkg-alsa-devel mailing list