You are not logged in.

#1 2016-04-21 15:16:02

narr
Member
Registered: 2016-04-21
Posts: 3

Cannot reffer to soundcard by hw

Hey,
please someone explain me or point me in the right direction. For some reasons i can do speaker-test when soundcard is specified by name but not by hw param. What am I missing?

[u@g ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC270 Analog [ALC270 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC270 Digital [ALC270 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[u@g ~]$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default:CARD=SB
    HDA ATI SB, ALC270 Analog
    Default Audio Device
sysdefault:CARD=SB
    HDA ATI SB, ALC270 Analog
    Default Audio Device
front:CARD=SB,DEV=0
    HDA ATI SB, ALC270 Analog
    Front speakers
surround21:CARD=SB,DEV=0
    HDA ATI SB, ALC270 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=SB,DEV=0
    HDA ATI SB, ALC270 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
    HDA ATI SB, ALC270 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
    HDA ATI SB, ALC270 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
    HDA ATI SB, ALC270 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
    HDA ATI SB, ALC270 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=SB,DEV=0
    HDA ATI SB, ALC270 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=Generic,DEV=0
    HD-Audio Generic, HDMI 0
    HDMI Audio Output
[u@g ~]$ speaker-test -D hw:0,0

speaker-test 1.1.1

Playback device is hw:0,0
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Channels count (1) not available for playbacks: Invalid argument
Setting of hwparams failed: Invalid argument

Finally the one below works fine:

[u@g ~]$ speaker-test -D sysdefault:CARD=SB

Offline

Board footer

Powered by FluxBB