Package: hibernate
Version: 1.12-1
Severity: wishlist
Tags: patch

It can be useful to pause audio players before hibernation for several
reasons:

  * Machine might resume in a different, audio-sensative environemt
    (ie, airplane)
  * Some players like quodlibet (at least when using alsa) release the
    audio device when paused, which allows it to be unloaded if it's a
    problimatic device. This is a lot nicer than letting hibernate kill
    the audio player.
  * Avoid ugly audio artifacts if music is playing during suspend/resume.

I've written a scriptlet to accomplish this. It's designed to be
extended to work with any audio players that might be running, although
currently it only implements pausing quodlibet. It's enabled as follows:

### audiopause
AudioPause yes

I've attached the scriptlet and I would be happy to see it added to the
hibernate package.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

hibernate depends on no packages.

Versions of packages hibernate recommends:
ii  console-tools              1:0.2.3dbs-60 Linux console and font utilities
ii  hdparm                     6.3-3         tune hard disk parameters for high
pn  vlock                      <none>        (no description available)

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to