All pastes #905978 Raw Edit

openal-soft device enumeration

public text v1 · immutable
·published 2008-02-16 05:03 UTC
rendered paste body
arc@selket ~/work/pysoy2 $ aplay -l

**** List of PLAYBACK Hardware Devices ****

card 0: nForce2 [NVidia nForce2], device 0: Intel ICH [NVidia nForce2]

  Subdevices: 0/1

  Subdevice #0: subdevice #0

card 0: nForce2 [NVidia nForce2], device 2: Intel ICH - IEC958 [NVidia nForce2 - IEC958]

  Subdevices: 1/1

  Subdevice #0: subdevice #0

**** List of PLAYBACK Hardware Devices ****

arc@selket ~/work/pysoy2 $ arecord -l

**** List of CAPTURE Hardware Devices ****

card 0: nForce2 [NVidia nForce2], device 0: Intel ICH [NVidia nForce2]

  Subdevices: 1/1

  Subdevice #0: subdevice #0

card 0: nForce2 [NVidia nForce2], device 1: Intel ICH - MIC ADC [NVidia nForce2 - MIC ADC]

  Subdevices: 1/1

  Subdevice #0: subdevice #0

**** List of CAPTURE Hardware Devices ****

card 1: Camera [USB Camera], device 0: USB Audio [USB Audio]

  Subdevices: 1/1

  Subdevice #0: subdevice #0

arc@selket ~/work/pysoy2 $ python

Python 2.5.1 (r251:54863, Nov 29 2007, 10:56:06) 

[GCC 4.2.2 (Gentoo 4.2.2 p1.0)] on linux2

Type "help", "copyright", "credits" or "license" for more information.

>>> import soy

>>> soy.audio.outputs

('ALSA Software on default', 'ALSA Software on NVidia nForce2', 'ALSA Software on USB Camera', 'OSS Software', 'Wave File Writer')

>>> soy.audio.inputs

('ALSA Capture on default', 'ALSA Capture on NVidia nForce2', 'ALSA Capture on USB Camera', 'OSS Capture')

>>>