最終更新:2020-11-24 (火) 22:01:41 (52d)  

aplay
Top / aplay

command-line sound recorder and player for ALSA soundcard driver

aplay -l?

  • **** List of PLAYBACK Hardware Devices ****
    card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
      Subdevices: 4/4
      Subdevice #0: subdevice #0
      Subdevice #1: subdevice #1
      Subdevice #2: subdevice #2
      Subdevice #3: subdevice #3
    card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
      Subdevices: 4/4
      Subdevice #0: subdevice #0
      Subdevice #1: subdevice #1
      Subdevice #2: subdevice #2
      Subdevice #3: subdevice #3
    

aplay -L?

  • null
        Discard all samples (playback) or generate zero samples (capture)
    default
    output
    sysdefault:CARD=b1
        bcm2835 HDMI 1, bcm2835 HDMI 1
        Default Audio Device
    dmix:CARD=b1,DEV=0
        bcm2835 HDMI 1, bcm2835 HDMI 1
        Direct sample mixing device
    dsnoop:CARD=b1,DEV=0
        bcm2835 HDMI 1, bcm2835 HDMI 1
        Direct sample snooping device
    hw:CARD=b1,DEV=0
        bcm2835 HDMI 1, bcm2835 HDMI 1
        Direct hardware device without any conversions
    plughw:CARD=b1,DEV=0
        bcm2835 HDMI 1, bcm2835 HDMI 1
        Hardware device with all software conversions
    sysdefault:CARD=Headphones
        bcm2835 Headphones, bcm2835 Headphones
        Default Audio Device
    dmix:CARD=Headphones,DEV=0
        bcm2835 Headphones, bcm2835 Headphones
        Direct sample mixing device
    dsnoop:CARD=Headphones,DEV=0
        bcm2835 Headphones, bcm2835 Headphones
        Direct sample snooping device
    hw:CARD=Headphones,DEV=0
        bcm2835 Headphones, bcm2835 Headphones
        Direct hardware device without any conversions
    plughw:CARD=Headphones,DEV=0
        bcm2835 Headphones, bcm2835 Headphones
        Hardware device with all software conversions
    

CentOS

関連