🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #12583

Re: 131072 is the Sound Barrier?

#12583
From: Dan Baker CATS
Date: Wed, 10 May 1989 16:26
12 lines
1085 bytes
In article <8905100534.AA09678@jade.berkeley.edu> <AXTBF%ALASKA.BITNET@jade.berkeley.edu> writes:
>Why is the maximum length of a sound 131072???  (as stated in the
>AutoDocs for the Audio Device with CMD_WRITE).  If I had 1Meg of
>chip memory (well I can dream can't I), I might want to play a
>sound that is 1Meg long (or there abouts).  

You can play samples that are longer than 131072 bytes long by queuing 
up multiple requests to the audio device.  Use a Wait() GetMsg() loop 
to keep the sample running smoothly.  You can do this with just two 
IOAudio structures by alternating them.
-- 
 Dan Baker, CATS
Technical Details
Message-ID: <6811@cbmvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!oliveb!amiga!cbmvax!dan
References: <8905100534.AA09678@jade.berkeley.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!oliveb!amiga!cbmvax!dan
From: dan@cbmvax.UUCP (Dan Baker CATS)
Newsgroups: comp.sys.amiga.tech
Subject: Re: 131072 is the Sound Barrier?
Message-ID: <6811@cbmvax.UUCP>
Date: 10 May 89 16:26:42 GMT
References: <8905100534.AA09678@jade.berkeley.edu>
Reply-To: dan@cbmvax.UUCP (Dan Baker CATS)
Organization: Commodore Technology, West Chester, PA
Lines: 12