Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stopping _SNDPLAYCOPY ?Possible?
#2
Not to say it's a bad idea or anything, but how the heck would one implement it?

Let's say me hero has a zappy gun.   I load the "pew pew" sound file.

I fire off three zaps.

_SNDPLAYCOPY  "pew pew"
_SNDPLAYCOPY  "pew pew"
_SNDPLAYCOPY  "pew pew"

Now, the second one hits the enemy.   How would _SNDSTOPCOPY know to stop that second "pew pew" and not the first or third?  Wouldn't it need a handle to specify which sound to actually stop?

And if it does, then wouldn't it basically be the exact same as _SNDCOPY?

How could you ever specify which copy to stop, without a handle, and if you have a handle, why wouldn't the existing commands already handle the issue?
Reply


Messages In This Thread
RE: Stopping _SNDPLAYCOPY ?Possible? - by SMcNeill - 08-07-2024, 12:58 AM
RE: Stopping _SNDPLAYCOPY ?Possible? - by a740g - 08-07-2024, 02:48 PM
RE: Stopping _SNDPLAYCOPY ?Possible? - by Pete - 08-07-2024, 03:44 PM
RE: Stopping _SNDPLAYCOPY ?Possible? - by Pete - 08-07-2024, 11:16 PM



Users browsing this thread: 14 Guest(s)