Public bug reported: In some players (xine, totem-xine, amarok (xine), kaffeine (xine) and vlc) the sound output has gaps when operating the laptop on battery. When the cable is plugged in, audio is played back correctly. Also, when plugging and unplugging the laptop, the quality of the playback moves between these two states. With other players (mplayer, totem-gstreamer) the playback is correct in any case. A verbose output of the first players shows these errors in battery operation:
xine-based: audio_out: inserting 8047 0-frames to fill a gap of 15092 pts audio_out: inserting 8009 0-frames to fill a gap of 15022 pts fixing sound card drift by -1347 pts etc... vlc (I assume this is not xine-based): [00000348] main audio output debug: audio output is starving (23773), playing silence [00000348] alsa audio output debug: recovered from buffer underrun [00000348] main audio output debug: audio output is starving (31005), playing silence [00000348] alsa audio output debug: recovered from buffer underrun etc... (when using vlc with oss output it does not output the alsa... lines of course) -------------------------------------------------------------------------------- I discovered that this behaviour has to do with the ac module. When removing the module the quality of the playback is not affected by the plugging/unplugging and remains the same as when "sudo rmmod ac" was issued. This means that when when laptop is plugged in, "sudo rmmod ac" keeps the playback quality even if the power cord is removed. When "sudo rmmod ac" is issued while the laptop runs on battery, the sound remains choppy even if it is afterwards plugged in. "sudo modprobe ac" returns to the original situation. ** Affects: Ubuntu Importance: Undecided Status: Unconfirmed -- ac module causes gaps in sound playback in battery operation https://bugs.launchpad.net/bugs/115688 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs