delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/20/05:45:29

From: "Edmund Horner" <ejrh AT paradise DOT net DOT nz>
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro sample playing
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Organization: Paradise Net
Message-ID: <972034419.537267@shelley.paradise.net.nz>
Cache-Post-Path: shelley.paradise.net.nz!unknown AT 203-96-146-87 DOT tnt2 DOT paradise DOT net DOT nz
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)
Date: Fri, 20 Oct 2000 22:34:35 +1300
NNTP-Posting-Host: 203.96.152.26
X-Complaints-To: newsadmin AT xtra DOT co DOT nz
X-Trace: news.xtra.co.nz 972034420 203.96.152.26 (Fri, 20 Oct 2000 22:33:40 NZDT)
NNTP-Posting-Date: Fri, 20 Oct 2000 22:33:40 NZDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello.

I am using the simplest Allegro sound functions, namely, play_sample().
However since I playing lots of samples all the time (for a game), I'd like
to only play the sample if it's not already playing.  How can I most
efficiently (for me, not the computer) achieve this?

Edmund.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019