SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-12-05 14:45:47

kenwong
#! CrunchBanger
From: Hong Kong
Registered: 2009-07-26
Posts: 158

audio problem - no sound after suspend

This occurs intermittently.

When I try to play a video clip on a webpage, like youtube, there may be no sound.  I then need to reload the page to play the video clip again for the sound to be played successfully.

A similar problem can happen to an MP3 clip to be played on a website.

Any help would be appreciated.

Edit: Subject updated.

Last edited by kenwong (2013-02-11 11:16:26)

Offline

Help fund CrunchBang, donate to the project!

#2 2012-12-10 18:31:46

ohnonot
...again
Registered: 2012-05-22
Posts: 1,539
Website

Re: audio problem - no sound after suspend

on a general note i noticed myself that cb's sound system seems slightly buggy.
i'd be interested to hear if this is a recognized issue.
honestly i haven't looked into it, is it alsa or gstreamer or pulse or what.
maybe installing pulseaudio would solve the issue, and eat lots of cpu...

edit: i just noticed that pavucontrol is pulseaudio...

Last edited by ohnonot (2012-12-10 18:35:50)

Offline

#3 2012-12-15 10:59:28

kenwong
#! CrunchBanger
From: Hong Kong
Registered: 2009-07-26
Posts: 158

Re: audio problem - no sound after suspend

As I have been getting more incidences of this sound problem, it seems that it happens after my laptop resumes from suspend.

For example, after the laptop starts up, an MP3 file on my hard drive can be played normally.  The machine then suspends and after it resumes, there is no sound when the same MP3 file is played.  If I stop it and play the file again, sound comes out normally.

Offline

#4 2012-12-17 16:09:57

ohnonot
...again
Registered: 2012-05-22
Posts: 1,539
Website

Re: audio problem - no sound after suspend

kenwong wrote:

If I stop it and play the file again, sound comes out normally.

stop what?

Offline

#5 2012-12-17 16:25:45

kenwong
#! CrunchBanger
From: Hong Kong
Registered: 2009-07-26
Posts: 158

Re: audio problem - no sound after suspend

^ Sorry, GNOME MPlayer.

Offline

#6 2012-12-17 17:33:02

ohnonot
...again
Registered: 2012-05-22
Posts: 1,539
Website

Re: audio problem - no sound after suspend

i think i accepted the fact that computers do funny thinks after waking up from suspending.
windows and linux alike.
to me it seems that reloading a web page is not so much hassle, neither is restarting your media player.

however, i do see the problem.

maybe you can make your system restart the audio system (simple shell script?) when it wakes up. i'm pretty sure there are some distinct routines that get executed when you press whatever wake up button

Offline

#7 2013-02-11 11:15:00

kenwong
#! CrunchBanger
From: Hong Kong
Registered: 2009-07-26
Posts: 158

Re: audio problem - no sound after suspend

Can anyone help me to resolve this problem?

It fails to play any sound when the computer comes back from suspend.  Then, I need to reload the webpage or even close it and re-open it to make the sound work.

For example, the sound file is sucessfully played on the second command:

kenneth@crunchbang:~$ sudo aplay /usr/share/sounds/alsa/Front_Center.wav
[sudo] password for kenneth: 
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
kenneth@crunchbang:~$ sudo aplay /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

Thanks in advance.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo