You are not logged in.

#1 2017-12-07 20:51:49

jaro
Member
Registered: 2013-10-10
Posts: 25

USB headset OSS

Hi,
I have the following ~/.asoundrc file which works great for alsa programs:
pcm.!default {
  type hw
  card 1
}

ctl.!default {
  type hw
  card 1
}

Unfortunately it doesn't work for my OSS programs.
What should I add to ~/.asoundrc to work both for alsa and OSS programs.

I know OSS is deprecated but I cannot get rid of it :-(

$ aplay -l

card 1: headset [Sennheiser USB headset], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ lsmod | grep oss
snd_seq_oss            36864  0
snd_seq_midi_event     16384  1 snd_seq_oss
snd_seq                57344  5 snd_seq_midi_event,snd_seq_dummy,snd_seq_oss
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_oss
snd_pcm_oss            45056  0
snd_mixer_oss          24576  1 snd_pcm_oss
snd_pcm                86016  5 snd_pcm_oss,snd_hda_intel,snd_hda_codec,snd_usb_audio,snd_hda_core
snd                    73728  15 snd_pcm_oss,snd_hda_intel,snd_hwdep,snd_mixer_oss,snd_seq,snd_hda_codec,snd_hda_codec_analog,snd_usb_audio,snd_timer,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_seq_device,snd_seq_oss,snd_pcm

Great thanks for help

Offline

#2 2017-12-07 21:06:56

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: USB headset OSS

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB