home *** CD-ROM | disk | FTP | other *** search
- Path: daily-planet.execpc.com!usenet
- From: innuendo@execpc.com (Jonathan Gapen)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Datatypes sound playing help please
- Date: 13 Apr 1996 01:05:59 GMT
- Organization: esCom Amiga Madison Enthusiast's Organisation
- Message-ID: <4kmuln$kpe@daily-planet.execpc.com>
- References: <dave.0bwf@ccom.co.nz>
- NNTP-Posting-Host: midge.execpc.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- X-NewsSoftware: GRn 2.1 Feb 19, 1994
-
-
- In article <dave.0bwf@ccom.co.nz> dave@ccom.co.nz (David Eaves) writes:
- >
- > is it possible to detect when datatypes is finished playing a sound under
- > V39? I want to start a sound playing and then wait until it is done.
- > V40 provides SDTA_SignalTask/SDTA_SignalBit that you can Wait() on
- > after calling DoMethod(), but how do you do this under V39?
-
- You don't.
- You *can* grab the period from SDTA_VoiceHeader, the SDTA_SampleLength, and
- SDTA_Cycles to calculate yourself how long the sound will take to play. It's not a
- pretty solution, though, and using the v40 version is the best way.
- Not to toot my own horn, but I have written a replacement sound.datatype which
- supports SDTA_SignalTask/SDTA_SignalBit, and runs under AmigaOS 3.0, but I'm waiting on
- the NDUK 3.1 to release it, in order to clean up a few things.
-
- --
- Jonathan Gapen (innuendo@execpc.com)
- Bread in, toast out. How does it DO that?
-