Notice removed Draw attention by Community
    Bounty Ended with no winning answer by Community
3 added 363 characters in body
source | link

Sometimes it seems ALSA on my machine goes completely haywire:

  • Flash audio on Spotify doesn't produce any sound.
  • SMplayer plays audio just fine, or doesn't play at all (I've observed the latter today).
  • When I start a video in VLC it plays an extremely loud crack, so loud I'm afraid I'll lose hearing permanently and/or break a speaker. For comparison, I usually set the receiver volume to 25 when playing music, and 30-35 when watching movies. After detecting the previous two issues, I turned the volume to 6 before playing a video, and even then the crack was painfully loud.
  • After the crack, the VLC audio stream is barely audible behind a wall of noise.
  • I don't detect any extreme loudness, cracks or other distortion from speaker-test --device plughw:1,0 --channels 2.

How can this issue affect only Flash and VLC, but not SMplayer? They all use ALSA and the same sound card, after all. And these symptoms are relatively rare - only detected once every couple weeks or so. A reboot seems to solve them every time, but I would rather have some sort of guarantee that my ears will continue working.

The machine is set up from bare bones Arch Linux, and had as far as I can tell only the ALSA sound server installed when the problems were encountered.

The S/PDIF cable is connected to an Onkyo receiver, which is connected to a 5.1 speaker system.

Sometimes it seems ALSA on my machine goes completely haywire:

  • Flash audio on Spotify doesn't produce any sound.
  • SMplayer plays audio just fine, or doesn't play at all (I've observed the latter today).
  • When I start a video in VLC it plays an extremely loud crack, so loud I'm afraid I'll lose hearing permanently and/or break a speaker. For comparison, I usually set the receiver volume to 25 when playing music, and 30-35 when watching movies. After detecting the previous two issues, I turned the volume to 6 before playing a video, and even then the crack was painfully loud.
  • After the crack, the VLC audio stream is barely audible behind a wall of noise.
  • I don't detect any extreme loudness, cracks or other distortion from speaker-test --device plughw:1,0 --channels 2.

How can this issue affect only Flash and VLC, but not SMplayer? They all use ALSA and the same sound card, after all. And these symptoms are relatively rare - only detected once every couple weeks or so. A reboot seems to solve them every time, but I would rather have some sort of guarantee that my ears will continue working.

Sometimes it seems ALSA on my machine goes completely haywire:

  • Flash audio on Spotify doesn't produce any sound.
  • SMplayer plays audio just fine, or doesn't play at all (I've observed the latter today).
  • When I start a video in VLC it plays an extremely loud crack, so loud I'm afraid I'll lose hearing permanently and/or break a speaker. For comparison, I usually set the receiver volume to 25 when playing music, and 30-35 when watching movies. After detecting the previous two issues, I turned the volume to 6 before playing a video, and even then the crack was painfully loud.
  • After the crack, the VLC audio stream is barely audible behind a wall of noise.
  • I don't detect any extreme loudness, cracks or other distortion from speaker-test --device plughw:1,0 --channels 2.

How can this issue affect only Flash and VLC, but not SMplayer? They all use ALSA and the same sound card, after all. And these symptoms are relatively rare - only detected once every couple weeks or so. A reboot seems to solve them every time, but I would rather have some sort of guarantee that my ears will continue working.

The machine is set up from bare bones Arch Linux, and had as far as I can tell only the ALSA sound server installed when the problems were encountered.

The S/PDIF cable is connected to an Onkyo receiver, which is connected to a 5.1 speaker system.

    Tweeted twitter.com/#!/StackUnix/status/466742270864416768
2 added 472 characters in body
source | link

Sometimes it seems ALSA on my machine goes completely haywire:

  • Flash audio on Spotify doesn't produce any sound.
  • WheneverSMplayer plays audio just fine, or doesn't play at all (I've observed the latter today).
  • When I start a video in VLC it plays an extremely loud crack, so loud I'm afraid I'll lose hearing permanentlyso loud I'm afraid I'll lose hearing permanently and/or break a speaker. For comparison, I usually set the receiver volume to 25 when playing music, and/or break a speaker if this actually happens 30-35 when watching movies. After detecting the amplifier isprevious two issues, I turned upthe volume to 6 before playing a video, and even halfthen the crack was painfully loud.
  • After the crack, the VLC audio stream is overlaid with strong whitebarely audible behind a wall of noise.
  • SMplayer plays audio just fine.
  • I don't detect any extreme loudness, cracks or other distortion from speaker-test --device plughw:0,1,0 --channels 2 seems not to have any distortion.

How can this issue affect only Flash and VLC, but not SMplayer? They all use ALSA and the same sound card, after all. And these symptoms are relatively rare - only detected once every couple weeks or so. A reboot seems to solve them every time, but I would rather have some sort of guarantee that my ears will continue working.

Sometimes it seems ALSA on my machine goes completely haywire:

  • Flash audio on Spotify doesn't produce any sound.
  • Whenever I start a video in VLC it plays an extremely loud crack, so loud I'm afraid I'll lose hearing permanently and/or break a speaker if this actually happens when the amplifier is turned up to even half.
  • VLC audio is overlaid with strong white noise.
  • SMplayer plays audio just fine.
  • speaker-test --device plughw:0,1 --channels 2 seems not to have any distortion.

How can this issue affect only Flash and VLC, but not SMplayer? They all use ALSA and the same sound card, after all.

Sometimes it seems ALSA on my machine goes completely haywire:

  • Flash audio on Spotify doesn't produce any sound.
  • SMplayer plays audio just fine, or doesn't play at all (I've observed the latter today).
  • When I start a video in VLC it plays an extremely loud crack, so loud I'm afraid I'll lose hearing permanently and/or break a speaker. For comparison, I usually set the receiver volume to 25 when playing music, and 30-35 when watching movies. After detecting the previous two issues, I turned the volume to 6 before playing a video, and even then the crack was painfully loud.
  • After the crack, the VLC audio stream is barely audible behind a wall of noise.
  • I don't detect any extreme loudness, cracks or other distortion from speaker-test --device plughw:1,0 --channels 2.

How can this issue affect only Flash and VLC, but not SMplayer? They all use ALSA and the same sound card, after all. And these symptoms are relatively rare - only detected once every couple weeks or so. A reboot seems to solve them every time, but I would rather have some sort of guarantee that my ears will continue working.

    Notice added Draw attention by l0b0
    Bounty Started worth 200 reputation by l0b0
1
source | link

Extremely loud crack and mangled sound over S/PDIF using ALSA

Sometimes it seems ALSA on my machine goes completely haywire:

  • Flash audio on Spotify doesn't produce any sound.
  • Whenever I start a video in VLC it plays an extremely loud crack, so loud I'm afraid I'll lose hearing permanently and/or break a speaker if this actually happens when the amplifier is turned up to even half.
  • VLC audio is overlaid with strong white noise.
  • SMplayer plays audio just fine.
  • speaker-test --device plughw:0,1 --channels 2 seems not to have any distortion.

How can this issue affect only Flash and VLC, but not SMplayer? They all use ALSA and the same sound card, after all.