You are not logged in.
Pages: 1
Hi,
When I use one of my USB sound cards I get a crackling sound on the left speaker, when I stream youtube or spotify (both over the original spotify app and mopidy) via pulseaudio. This is ONLY ON MY LAPTOP, no crackeling on the desktop.
I tried running pulseaudio from the konsole and saw that the crackling is not related to xruns.
When I use the onboard soundcard or a different usb soundcard on the laptop, there is no crackling.
When I use jackdbus instead of pulseaudio (I have tried this only in mopidy, setting "output = jackaudiosink" in mopidy.conf), there is also no crackling on the USB card in question. However I'd prefer to use pulse for simple streaming.
So it's the specific combination: Laptop+pulseaudio+SpecificUSBsoundcard
I tried setting "tsched = 0" in default.pa, as suggested in the PulseAudio/Troubleshooting wiki, no success.
Does anybody have a clue what this could be? It can't be the driver, right? Otherwise it wouldn't work on my desktop?
Thanks a lot, Stefan
Offline
Ok I'll list some hopefully useful data:
> pacmd list-sinks
...
index: 3
name: <alsa_output.usb-Audio-gd_Audio-gd-00.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY
state: RUNNING
suspend cause:
priority: 9049
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 101.00 ms
max request: 17 KiB
max rewind: 17 KiB
monitor source: 4
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
fixed latency: 99.95 ms
card: 3 <alsa_card.usb-Audio-gd_Audio-gd-00>
module: 24
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "USB Audio"
alsa.id = "USB Audio"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "2"
alsa.card_name = "Audio-gd"
alsa.long_card_name = "Audio-gd Audio-gd at usb-0000:00:1d.0-1.2, high speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "pci-0000:00:1d.0-usb-0:1.2:1.0"
sysfs.path = "/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/sound/card2"
udev.id = "usb-Audio-gd_Audio-gd-00"
device.bus = "usb"
device.vendor.id = "040d"
device.vendor.name = "VIA Technologies, Inc."
device.product.id = "3410"
device.product.name = "Audio-gd"
device.serial = "Audio-gd_Audio-gd"
device.string = "front:2"
device.buffering.buffer_size = "17632"
device.buffering.fragment_size = "4408"
device.access_mode = "mmap"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Audio-gd Analog Stereo"
alsa.mixer_name = "USB Mixer"
alsa.components = "USB040d:3410"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-usb"
ports:
analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
properties:
active port: <analog-output>This is regarding spotify:
>pacmd list-sink-inputs
1 sink input(s) available.
index: 2
driver: <protocol-native.c>
flags: START_CORKED
state: RUNNING
sink: 3 <alsa_output.usb-Audio-gd_Audio-gd-00.analog-stereo>
volume: front-left: 53235 / 81% / -5.42 dB, front-right: 53235 / 81% / -5.42 dB
balance 0.00
muted: no
current latency: 990.63 ms
requested latency: 99.95 ms
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
resample method: (null)
module: 10
client: 15 <Spotify>
properties:
media.role = "music"
media.name = "Spotify"
application.name = "Spotify"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "30"
application.process.id = "1185"
application.process.user = "stefan"
application.process.host = "kistn"
application.process.binary = "spotify"
window.x11.display = ":0"
application.language = "en_US.UTF-8"
application.process.machine_id = "d0f6b6bcc75b4e4f9718b82047f54cec"
application.process.session_id = "c2"
application.icon_name = "spotify-client"
module-stream-restore.id = "sink-input-by-media-role:music">aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
...
sysdefault:CARD=Audiogd
Audio-gd, USB Audio
Default Audio Device
front:CARD=Audiogd,DEV=0
Audio-gd, USB Audio
Front speakers
surround21:CARD=Audiogd,DEV=0
Audio-gd, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Audiogd,DEV=0
Audio-gd, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=Audiogd,DEV=0
Audio-gd, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Audiogd,DEV=0
Audio-gd, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Audiogd,DEV=0
Audio-gd, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Audiogd,DEV=0
Audio-gd, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Audiogd,DEV=0
Audio-gd, USB Audio
IEC958 (S/PDIF) Digital Audio Output
**** List of PLAYBACK Hardware Devices ****
...
card 2: Audiogd [Audio-gd], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0Hope that helps. Thanks a lot, S
Offline
Pages: 1