[gutsy][hardy] aMsn sounds don't play while playing something else

Bug #99605 reported by Juan Pablo Salazar Bertín
36
Affects Status Importance Assigned to Milestone
amsn (Ubuntu)
Fix Released
Low
Unassigned
Nominated for Gutsy by Kevin
Nominated for Hardy by Kevin

Bug Description

Binary package hint: amsn

Ubuntu versions affected: 7.10 and 8.04

The problem: when maintains a conversation in the Msn network using this client and when the conversation windows is idle is normal for each receive a sound response.

AMSN uses "play" program for this process but amsn package of Gutsy does not install this sox package (which contains the "play" app) by default.

In the case of Hardy also no installed the package sox default but that does not work. The only way that works in Hardy is to use the command aplay instead play.

aplay - command-line sound player for ALSA soundcard driver

For this I made this patch: http://launchpadlibrarian.net/15787915/08_use_aplay_for_sound.dpatch

Related branches

Revision history for this message
Vincent Legout (vlegout) wrote :

Thanks for your report. Do you still have this bug ?

Changed in amsn:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Juan Pablo Salazar Bertín (snifer) wrote :

I still have this bug. For me "play" isn't even installed in a default gutsy.

Also, there are other options that should be manually entered in every install, and may be they can be "guessed", like browser, file-manager, open file command, etc.

Changed in amsn:
status: Incomplete → New
Revision history for this message
Niclas Lockner (niclasl) wrote :

Its not a bug in aMSN. Same thing happens when rhythmbox is playing or is paused and you try to play something in VLC.
It's like rhythmbox stelas the device while playing.

Terminal outputs while playing music in rhythmbox:

niclas@laptop:/usr/share/sounds/gtk-events$ aplay error.wav
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
aplay: main:546: fel vid öppning av ljud: Enhet eller resurs upptagen

niclas@laptop:/media/Film/Serier/Heroes/Season 1$ vlc heroes.101*
VLC media player 0.8.6e Janus
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
[00000338] jack audio output error: failed to connect to JACK server
[00000338] oss audio output error: cannot open audio device (/dev/dsp)
[00000338] main audio output error: couldn't find a filter for the conversion
[00000338] main audio output error: couldn't create audio output pipeline
[00000282] main playlist: stopping playback

Revision history for this message
Niclas Lockner (niclasl) wrote :

There were some swedish here..

aplay: main:546: fel vid öppning av ljud: Enhet eller resurs upptagen

aplay: main:546: error while opening sound: Device or resource busy

Revision history for this message
soonick (soonick-cancun) wrote :

Have you tried chaging the sound command to esdplay? It worked for me

Revision history for this message
Kevin (kevin64-deactivatedaccount) wrote :

I have done a patch to use "aplay" rather than "play"

aplay - command-line sound player for ALSA soundcard driver

This patch affects all profiles that are made. Then it will no longer be necessary to specify the command manually.

Revision history for this message
Kevin (kevin64-deactivatedaccount) wrote :

I think that also works with Gusty

Changed in amsn:
status: New → Confirmed
Revision history for this message
Kevin (kevin64-deactivatedaccount) wrote :

Working in main post

Changed in amsn:
assignee: nobody → festor90
Revision history for this message
Kevin (kevin64-deactivatedaccount) wrote :

I will try make debdiff files

description: updated
Revision history for this message
Kevin (kevin64-deactivatedaccount) wrote :

Added debdiff for amsn package of Hardy

Revision history for this message
Kevin (kevin64-deactivatedaccount) wrote :

Added debdiff for amsn package of Gutsy

Changed in amsn:
assignee: festor90 → nobody
Revision history for this message
ibizatunes (ibizatunes) wrote :

Im running ubuntu 8.10, and it doesnt work here either :-(
So it look like 8.10 has this issue

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package amsn - 0.97.2~debian-0ubuntu1

---------------
amsn (0.97.2~debian-0ubuntu1) intrepid; urgency=low

  [ Adrien Cunin ]

  * New upstream release
  * Repacked tarball to .tar.gz and according to debian/README.Debian-source
  * Keep the ~debian versioning scheme
  * debian/patches/05_changing_sxml.dpatch: dropped, it's upstream
  * debian/control: changed sox suggests to alsa-utils as we are now using
    aplay (see below)

  [ Devid Filoni ]

  * Merge from Debian unstable (LP: #249965). Remaining Ubuntu changes:
    - add 04_use_xdg-open.dpatch patch to use xdg-open as file manager
    - add 05-disable_newVersionCheck.dpatch patch
    + debian/control:
      - modify iceweasel to firefox in amsn Suggests field
      - add xdg-utils to amsn Depends field
    - don't merge 06-fix_makefile.dpatch patch because the debian package add
      the commands in the debian/rules clean target
    - dont' merge 07-fix_kde4_tray_icon.dpatch patch, merged upstream
    - don't merge debian/amsn.desktop removal to reduce delta
  * Add 08_use_aplay_for_sound.dpatch patch by Festor Wailon Dacoba to use
    aplay to play sounds (LP: #99605).
  * The new upstream version fixes LP: #243722 (login doesn't work).

amsn (0.97.1~debian-1) unstable; urgency=low

  * New upstream release. (Closes: #488850)
  * Bump Standards-Version to 3.8.0
  * The circular dependency has been erased in this revision of aMSN.
    amsn-data does not depend on amsn anymore. (Closes: #478692)
  * The problem caused by a missing Replaces in amsn-data package has
    been fixed in this new revision. (Closes: #484302)
  * aMSN depends on tcl-tls instead of tcltls. (Closes: #484206, #490762)

amsn (0.97-3) unstable; urgency=low

  * Bug: 'amsn: replace/conflict' has been fixed in this revision.
  (Closes: #476666)
  * Added a new preinst script to remove unneeded files from amsn-data
    package.

amsn (0.97-2) unstable; urgency=low

  * Bug: 'Please disable new version notification' has been fixed in this new
    revision of aMSN (Closes: #272741). Thanks to Marco Rodrigues for
    providing a patch.
  * Data files have been moved to a new amsn-data package.
  * debian/rules: dh_desktop was added. (Closes: #461800).
  * Desktop file has been improved to follow new standars.
  * A manpage for amsn-remote has been done.
  * Added preinst script to remove unneeded files from amsn package that has
    been moved to amsn-data.

 -- Adrien Cunin <email address hidden> Tue, 05 Aug 2008 17:10:29 +0200

Changed in amsn:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.