ALSA Audio selecting wrong device

Description

Singularity will always select my USB audio device for input/output instead of the my first device which is the ALSA default device for absolutely everything else.

aplay -l output:

  •  

    •  

      •  

        • List of PLAYBACK Hardware Devices ****
          card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog]
          Subdevices: 1/1
          Subdevice #0: subdevice #0
          card 0: SB [HDA ATI SB], device 3: VT1708S Digital [VT1708S Digital]
          Subdevices: 1/1
          Subdevice #0: subdevice #0
          card 2: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
          Subdevices: 1/1
          Subdevice #0: subdevice #0

Singularity always picks card 2. I have no other software that has this behaviour. All other SL viewers and various Linux audio / multimedia apps all select the correct default (hw:0,0).

Pulseaudio is not installed.

Environment

Linux 64bit

Activity

Show:
Mogsington
March 2, 2017, 3:21 PM

Creating a simple ~/.asoundrc to insist the default device is the right one solves the problem. But for some reason Singularity is ignoring the system default.

Former user
March 8, 2017, 6:21 PM

If I remember correctly, I think the linux build used to be (emphasis on "used") developed on a system that used PulseAudio, such as Debian, CentOS, or Kubuntu. The included GStreamer library bundled with the viewer may be working on that assumption and assign audio I/O in the "pulse" way. The developers may not have tested it on an Alsa only system. They should but it may take a volunteer who has an Alsa only system to help them debug their code.

That will not be me. Using a pulse-based linux box here. (Ubuntu 16.04 LTS)

Mogsington
March 8, 2017, 9:55 PM

I think you'll find it's fmod handling the audio initialisation (unless you select openal instead). Pulse audio sits on top of ALSA, so you are using an alsa based system, even if you don't directly use alsa. For the sake of balance, I for one will never be installing Pulseaudio.

Assignee

Unassigned

Reporter

Mogsington

Labels

Build Number

6919

External issue ID

None

Components

Priority

Medium
Configure