KimLaroux
1000+ Head-Fier
- Joined
- Aug 2, 2011
- Posts
- 1,090
- Likes
- 70
Yeah you used a small case l, not a capital L. The difference between small case and capital is important in Linux. They are two different things.
kim ~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
kim ~ $ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default:CARD=Intel
HDA Intel, STAC92xx Analog
Default Audio Device
sysdefault:CARD=Intel
HDA Intel, STAC92xx Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, STAC92xx Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
Direct sample mixing device
dmix:CARD=Intel,DEV=1
HDA Intel, STAC92xx Digital
Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
HDA Intel, STAC92xx Digital
Direct sample snooping device
hw:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
Direct hardware device without any conversions
hw:CARD=Intel,DEV=1
HDA Intel, STAC92xx Digital
Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
Hardware device with all software conversions
plughw:CARD=Intel,DEV=1
HDA Intel, STAC92xx Digital
Hardware device with all software conversions
Anyways. As Anda said, you should configure your music player to use Device 4, the one named IEC958. IEC958 Is the IEC standard for digital audio. This device is the SPDIF output of your audio card. The reason why you don't get any audio with the hw output is probably because you're using the analog and not the digital device. If you look at the pasted lines, you'll see I have two devices named "Direct hardware device without any conversions". One is Analog, the other is Digital. Analog is the headphone out of my laptop, the other is the SPDIF output in the mini-din connector at the back (Dell laptop). The output of "aplay -L" is the exact same thing as the drop-down menu of Deadbeef, so pasting it here will be of great help.
But still, it doesn't explain why the sampling gets all messed up. I really have no idea why it does that. Have you tried another music player? It's an essential step to pin point the cause of the problem.
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
kim ~ $ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default:CARD=Intel
HDA Intel, STAC92xx Analog
Default Audio Device
sysdefault:CARD=Intel
HDA Intel, STAC92xx Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, STAC92xx Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
Direct sample mixing device
dmix:CARD=Intel,DEV=1
HDA Intel, STAC92xx Digital
Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
HDA Intel, STAC92xx Digital
Direct sample snooping device
hw:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
Direct hardware device without any conversions
hw:CARD=Intel,DEV=1
HDA Intel, STAC92xx Digital
Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
Hardware device with all software conversions
plughw:CARD=Intel,DEV=1
HDA Intel, STAC92xx Digital
Hardware device with all software conversions
Anyways. As Anda said, you should configure your music player to use Device 4, the one named IEC958. IEC958 Is the IEC standard for digital audio. This device is the SPDIF output of your audio card. The reason why you don't get any audio with the hw output is probably because you're using the analog and not the digital device. If you look at the pasted lines, you'll see I have two devices named "Direct hardware device without any conversions". One is Analog, the other is Digital. Analog is the headphone out of my laptop, the other is the SPDIF output in the mini-din connector at the back (Dell laptop). The output of "aplay -L" is the exact same thing as the drop-down menu of Deadbeef, so pasting it here will be of great help.
But still, it doesn't explain why the sampling gets all messed up. I really have no idea why it does that. Have you tried another music player? It's an essential step to pin point the cause of the problem.