You are not logged in.

#1 2012-10-27 16:17:31

chimeracoder
Member
From: New York
Registered: 2010-10-24
Posts: 73

Sound gets stuck on resume from pm-suspend

I've never had any sound problems before, but suddenly in the last week, this started happening.

When I resume after a pm-suspend, the sound gets "stuck" - if I play a song, for example, it will just play the first split-second of the song over and over (looping like a broken record!) and won't continue or stop, even if I stop the song in the application. This happens with both mpd and deadbeef, and at the moment I'm unable to get sound Youtube in either Chromium or Firefox to confirm whether it happens there too (though the fact that I can't get sound there is itself a problem).

I've tried restarting the alsa daemon, with no luck. Below are the contents of my /etc/pm/sleep.d/90alsa:


#!/bin/sh
#
# 90alsa: suspend/wakeup ALSA devices

case "$1" in
hibernate|suspend)
;;
thaw|resume)
#aplay -d 1 /dev/zero
;;
*) exit $NA 
;;
esac

I have tried it both with and without the aplay line (commented out right now).

Offline

#2 2012-11-21 14:28:23

fooblahblah
Member
Registered: 2010-06-29
Posts: 19

Re: Sound gets stuck on resume from pm-suspend

I'm seeing the same behavior.  Running Arch on  a Macookpro10,2

Offline

#3 2012-11-21 17:57:28

chimeracoder
Member
From: New York
Registered: 2010-10-24
Posts: 73

Re: Sound gets stuck on resume from pm-suspend

Oddly enough, I just noticed last night that the problem was fixed (likely the result of a -Syu at some point since my first post, but I can't be quite sure).

Offline

Board footer

Powered by FluxBB