audio_common icon indicating copy to clipboard operation
audio_common copied to clipboard

Inconsistency in sound_play documentation and code (ros ticket #23)

Open ahendrix opened this issue 11 years ago • 0 comments

While the documentation of the sound_play node says that more than one sound at a time can be played, this appears not to be the case (even when calling it from the same node).

Lines 181-182 of soundplay_node.py are "Force only one sound at a time" and "self.stopall()". Commenting out the latter seems to allow multiple sounds to be played at once.

Either the documentation or the code should probably be changed, however, I have not experimented significantly to determine whether commenting out line 182 of soundplay_node.py leads to undesirable effects.

trac data:

  • Owner: ahendrix
  • Reporter: elaine.g.short
  • Reported at: Fri Mar 8 15:03:01 2013
  • URL: https://kforge.ros.org/audiocommon/trac//ticket/23

ahendrix avatar Mar 14 '13 22:03 ahendrix